Duelling Tanks is a simple HTML5 game that I built for DTC 477 at Washington State University Vancouver. It relies on Cannon.js for physics simulation and Three.js for WebGL rendering. This project was a great way to learn about using javascript libraries, working in WebGL, and developing games for HTML5.

You Win!

You Lose!

How To Play

Movement & Aiming

Image demonstrating movement and aiming

Use the W, A, S, and D keys to move your tank. Use the arrow keys to aim your gun.

Fuel & Turns

Image showing the fuel gauge

This is a turn based game. Each turn, you get a certain amount of fuel for movement and one shot to fire. Make it count!

Ammo

Image showing the ammo selector

Use the Q and E keys to cycle through the three ammo types. Smaller shots will go further, but deal less damage. Larger shots deal less damage, but won't fly as far.