home *** CD-ROM | disk | FTP | other *** search
- AUTOMATON*
-
- 34Life
-
- Small automaton by AmS, from Dewdney [Magic Machine ?]
- Try a 60x60 grid till you see some of the features..
- Notably cute gliders,which have a nice elegant movement.
- Also a feature called the 3 step hexomino..alter the
- setup of soup to show it...its structure is
-
- **
- **
- **
-
- and apparently it grows without end.
-
- INITIALISATION*
-
- 10DEF PROCdo
- 20*SetEval wrap off
- 30*SetEval border dead
- 40ENDPROC
-
- SCREEN*
- 10DEF PROCdo
- 20PROCsoup(255,1,.8)
- 30ENDPROC
-
- CODE*
-
- ( READ_NEIG
- alive SCOUNT_NEIG
- CELL IF ( DUP 3 = IF (alive ==)
- 4 = IF (alive ==)
- dead == )
- ELSE ( DUP 3 = IF (alive ==)
- 4 = IF (alive ==)
- dead == )
-
- END*
-
-
-