I added a clearing and changed some of the game mechanics. I'm going to put the version 2 code displayed on GitLab, so I'm cleaning up a bit!
Cool, always happy to have a look at the source code for learning. That is the way i started with making text games in my younger years.