Shooting cactus in the desert? Now that’s fun.
This game was the result of a final project in one of my many game development classes. In this game, you control a turret that can rotate via the A and D keys. Pressing space bar will shoot out a rocket, and upon contact with a cactus, will explode, destroy the cactus and provide the player with a point. Cactus enemies are randomly spawned in one of four locations that then run towards the tank. If they make contact with the tank, they explode and the player takes damage. When the players damage reaches three, the game is over. The entire of this game was programmed in a little under 10 hours of work.