Add slightly more informative comment
This commit is contained in:
parent
adb081fd22
commit
a3e2ea6e86
3
Main.hs
3
Main.hs
|
@ -6,6 +6,7 @@ import Graphics.Engine (initialSpace, run)
|
|||
import Graphics.Gloss
|
||||
import Graphics.GlossUtils (playYampa)
|
||||
|
||||
-- random space just to test things
|
||||
space :: ToroidalSpace Bool
|
||||
space = tabulate (\(x, y) -> (x + y `mod` 5) * 10 + x - y > 30)
|
||||
|
||||
|
@ -15,4 +16,4 @@ main =
|
|||
(InWindow "Conway's Game of Life" (200, 200) (10, 10))
|
||||
black
|
||||
30
|
||||
(run (200, 200) space)
|
||||
(run (200, 200) space)
|
||||
|
|
Loading…
Reference in a new issue