Press space to set the amount of times an enemy can be hit before it dies. This is what will be the basic AI for a tower defense game I am going to make. I was just going to use it in the game but then decided that it would be good to show it off because it will 1. Give my followers something to look at because I haven't been too active recently 2. Show what I am working on in an interesting way 3. Give people access to the code I worked on so they can use it for themselves
This isn't good looking because all I really wanted to show off was the code and how it will work, not make it look good.