LANGTON'S ANT.
Hardware:
ZX81+ZXPand+UDG4ZXPand in CHR$128 mode *
ZX81+ZXPand+Chroma in CHR$128 mode
ZX81+ZXPand+UDG Board in CHR$128 mode
Emulator:
sz81 in ZXPand+CHR$128 mode
EightyOne in ZXPand+CHR$128 mode
-------------------------------------------------------------------------------
From Wikipedia...
"Langton's ant is a two-dimensional Turing machine with a very simple
set of rules but complicated emergent behavior. It was invented by
Chris Langton in 1986 and runs on a square lattice of black and white
cells.
The rules...
At a white square, turn 90° right, flip the color of the square, move
forward one unit
At a black square, turn 90° left, flip the color of the square, move
forward one unit"
-------------------------------------------------------------------------------
* No UDG board, no problem.
In the program "Demos\AntGUI.p" change this line...
From: 9240 PRINT USR BNKX;0 ;Use Bank0 font.
To: 9240 PRINT USR BNKX; ;Use ZX81 font.
Then save your changes by RUNning 9990.
The screens may look a bit funky due to UDG substitutions but the overall
program will work fine.
Use predefined UDG set B for best results.
Demo Videos...
https://www.youtube.com/watch?v=OIOIsrma65U&t=324s
https://www.youtube.com/watch?v=TOlPvBu_qVU
Enjoy;
Greg
Langton's Ant CHR$128 version
Langton's Ant CHR$128 version
- Attachments
-
- Langton's Ant.zip
- Programs
- (89.19 KiB) Downloaded 22 times
Re: Langton's Ant CHR$128 version
Nice, just the kind of thing I like to see the zeddy doing, I will have this running on a spare zeddy as a kind of screen saver, it's kind of hypnotic.