home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
304.lha
/
TurMite
/
TurMite.doc
< prev
next >
Wrap
Text File
|
1980-12-05
|
2KB
|
50 lines
TurMite A two dimensional Turing machine simulator
by Gary Teachout
This program is in the Public Domain
Imagine a small bug crawling around on your computer display moving one
pixel at a time. At each step it uses its internal state number and the
color of the pixel its on as indexes into a set of tables to decide what
color to change the pixel to, what direction to move, and what its new
internal state should be.
Some interesting rule tables:
State: Color: Motion:
1 2 2 2 2 1
1 3 2 1 4 4
1 3 2 1 3 1
2 1 1 3 1 1 2 2 4
1 1 1 2 1 3 1 1 1
1 2 2 1 4 1
1 1 2 2 2 2
1 1 1 1 2 3 4 1 2 2 4 4
1 1 2 1 4 2
For more on TurMite and Turing machines read:
Computer Recreations. Two dimensional Turing machines and tur-mites make
tracks on a plane.
A. K. Dewdney in Scientific American, Vol. 261, No. 3,
pages 180-183; September 1989.
Turing Machines.
John E. Hopcroft in Scientific American, Vol. 250, No. 5,
pages 86-98; May 1984.
Computer Recreations. A computer trap for the busy beaver, the hardest
working Turing machine.
A. K. Dewdney in Scientific American, Vol. 251, No. 2,
pages 19-23; August 1984.
Mathematical Games.
Martin Gardner in Scientific American, Vol. 216, No. 3,
pages 124-129; March 1967.
Mathematical Games.
Martin Gardner in Scientific American, Vol. 229, No. 5,
pages 116-123; November 1973.