Output - pddring/cpu-battle-tank GitHub Wiki
The Little Man Computer has 4 different output devices which can be used to control the tank:
- User output: This displays the contents of the accumulator register to the screen in a popup box
- Movement: This lets you move the tank forwards and backwards
- Steering: This lets you change the direction that the tank is currently facing.
- Aim: This lets you change the direction that the gun is currently facing.
- Weapons: This lets you shoot in the direction that the gun is currently facing.
Change the drop down boxes to see explanations and code samples for each output device.