top of page

Tanks

This is a super basic game I made to test out steering using sine and cosine. The numbers on the top of the screen are rotation in degrees, rotation in radians, sin of rotation, and cosine of rotation. The bottom number is bullets shot, but that has little to no meaning really.

 

This game took approximately 3 hours to make (3 days only programming in fourth period programming class). I had help from my friend, Elijah, who made a level and helped with some of the math.

 

The game is SUPER glitchy and you have about a 1/10 chance of not getting stuck in the wall. You can shoot yourself and you can only shoot 6 bullets at a time (i.e. if you shoot 6 bullets but then one hits someone you can fire one more)

 

Again, if this is something you like then email me and I'll maybe fix some of the glitches. I probably won't update it unless there is a need for it. The only intention was to learn the use of Sin and Cosine in the world of programming and use it to steer. If you have any questions, please contact us.

 

CONTROLS:

Player 1

  • WASD Move

  • Q to shoot

Player 2

  • Arrows to move

  • Ctrl to move

General

  • R to restart (It will not restart automatically)

  • Enter to cycle through levels (There are only 3)

bottom of page