Langton's Ant
Posted: 18 Apr 2023, 07:21
Here's a small screensaver program that I wrote in vCPU assembly to get my feet wet on the Gigatron. The ant's direction vector (Left or Right turn for each state ) is generated randomly. Up and down arrow keys let you cycle through the number of states (from 0 to 63), left arrow restarts the ant with the current direction vector, right arrow regenerates the direction vector. Tested on actual hardware (ROM v4), and PS/2 keyboard. Game controller tested only on the online emulator.