summaryrefslogtreecommitdiff
path: root/scripts/gol.scm
diff options
context:
space:
mode:
authorHenrique Alves <henrique.alves@itsjungle.xyz>2024-05-05 01:13:04 +0300
committerHenrique Alves <henrique.alves@itsjungle.xyz>2024-05-05 01:13:04 +0300
commit595895c0bf1565510ed23e5c95863cafae1daea7 (patch)
tree33fd5db8bff6a94476a84a72b2b2073960e05114 /scripts/gol.scm
parent72fc0084e45314c7ebfa641f2a20e2ecff358914 (diff)
downloadgamejam-slgj-2024-595895c0bf1565510ed23e5c95863cafae1daea7.tar.gz
gamejam-slgj-2024-595895c0bf1565510ed23e5c95863cafae1daea7.tar.bz2
gamejam-slgj-2024-595895c0bf1565510ed23e5c95863cafae1daea7.zip
basic GoL
Diffstat (limited to 'scripts/gol.scm')
-rw-r--r--scripts/gol.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gol.scm b/scripts/gol.scm
index f95dc91..7e10d2d 100644
--- a/scripts/gol.scm
+++ b/scripts/gol.scm
@@ -4,8 +4,10 @@
'((-1 . -1) (0 . -1) (1 . -1) (-1 . 0) (1 . 0) (-1 . 1) (0 . 1) (1 . 1)))
(set! (current-cells '(1 . 1)) #t)
-(set! (current-cells '(1 . 2)) #t)
-(set! (current-cells '(1 . 3)) #t)
+(set! (current-cells '(2 . 1)) #t)
+(set! (current-cells '(3 . 1)) #t)
+(set! (current-cells '(3 . 0)) #t)
+(set! (current-cells '(2 . -1)) #t)
(define sum-cells
(lambda (c1 c2)