Skip to content
Pete Dring edited this page Mar 9, 2015 · 1 revision

image

Each tank has 3 different input devices:

  1. User input: The CPU can ask the user to enter a number
  2. Navigation system: the CPU can find out where the tank is and what direction it's facing
  3. Collision radar: the CPU can find out if it's possible for the tank to move forwards or backwards
  4. Supplies: the CPU can find out how much ammo or fuel is left

Changing the drop down boxes will show code samples for each input device

Clone this wiki locally