COMBAT

Map:

Settings

Stiff rotation?
Map:


Changing settings will restart the game

Controls

ControlPlayer 1Player 2
Move ForwardWArrow Up
Turn LeftAArrow Left
Turn RightDArrow Right
Switch TankSArrow Down
ShootSpacebarEnter

Press SHIFT-R to restart

Combat originally appeared on the Atari 2600. This is a partial remake of that game. It is meant to be played by 2 players so grab a friend or family member and see who is better.


The goal of the game is to destroy all your opponents tanks. Each tank takes 3 hits to destroy. You can only control one tank at a time. Driving on roads makes you go faster and driving in bushes makes you go slower. Please read controls before playing. Maps are picked randomly at the beginning of each round. Enjoy!




Technical Info

Map Creation: It is possible to create, edit and remove maps and tiles by going in the `game/gameData.js` file. There you will find a blank, commented-out template map at the bottom that you can copy/paste into the map array in the json to add a new map. You can find tile IDs at the top of this file so you know what tiles you are placing.

You may also edit how many tanks spawn on each map type and you can even change tile attiributes or add your own tiles. I recommend using a 5x5 image so it matches the rest of the graphics. You can modify the `speedMultiplier` to make tanks travel faster or slower on those tiles. You can also modify whether it has collisions or not. Make sure the tile id is unique if you are adding new tiles.

The game is designed to be dynamic so make any changes you want in the gameData.js file and they should apply as long as the json is valid.