Created
June 11, 2010 17:16
-
-
Save marick/434773 to your computer and use it in GitHub Desktop.
blinkers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def *horizontal-blinker* [ [0,1] [1,1], [2,1] ] ) | |
(def *vertical-blinker* [ [1,2] | |
[1,1] | |
[1,0] ]) | |
(example "of blinkers blinking" | |
(next-world *horizontal-blinker*) => *vertical-blinker* | |
(next-world *vertical-blinker*) => *horizontal-blinker* | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment