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


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:

You can watch a getting started video here:

If you want to download, edit or extend the project, you can get all the source code here:

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
You can’t perform that action at this time.