Click the flag to reset, press space to generate and re-generate a world, and click on blocks to mine them. When you re-generate a world, the blocks you've mined will stay the same!