Skip to content
Pete Dring edited this page Mar 13, 2015 · 7 revisions

Intro

Battle Tank logo

CPU Battle Tanks is designed for Computer Science students learning how Central Processing Units work with low level assembly language instructions.

The game involves a set of challenges where you can control a tank to move, collect items and destroy items.

Each tank is controlled by a processor that is compatible with the Little Man Computer CPU instruction set but with additional input and output options to allow the tanks to sense their environment and move / shoot accordingly.

Getting Started

You can play CPU Battle Tanks here: http://pddring.github.io/cpu-battle-tank/

You can watch a getting started video here: https://www.youtube.com/watch?v=9JgtS8XH-X0

If you want to download, edit or extend the project, you can get all the source code here: https://github.com/pddring/cpu-battle-tank

Controlling the tank

There are two ways of controlling a tank:

  • Manual mode: use a gaming controller to move and shoot
  • CPU mode: write code for a Little Man Computer CPU that controls the tank
Clone this wiki locally