Page 1 of 1

Langton's Ant

Posted: 18 Apr 2023, 07:21
by gawater
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.

Re: Langton's Ant

Posted: 18 Apr 2023, 07:55
by at67
Very, very cool!

Re: Langton's Ant

Posted: 23 Apr 2023, 20:06
by gawater
Thanks! And apologies for posting in the wrong group. Should have been HW and SW hacking. Inexplicably I was drawn towards Escape Meta Alt Control Shift.