Tank Battle is a two player game loosely based off of Tank Trouble. Andrewgamers has another project like this: Submersible Warfare. Red Tank: WASD to move, 1 to fire. Blue Tank: Arrow keys to move, M to fire.
This was remixed off of DaveTheGamer80 who remixed it from Andrewgamers. It is not my original work but I added in a power up that allows you to shoot a shotgun like shot at your opponent. I only want to use it for educational reasons. I simplified some things inside the code, for instance I took out the ability for the projectile to bounce. I am only using it for educational purposes. I did very minimal edits only to make it easier to understand, as well as focus more on functions so students can see how to organize code.