From a3e2ea6e8662888b46b9caa3f88ff29f6cfb7798 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani <54818348+kiana-S@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:54:06 -0400 Subject: [PATCH] Add slightly more informative comment --- Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Main.hs b/Main.hs index 3888bfc..5c166dc 100644 --- a/Main.hs +++ b/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) \ No newline at end of file + (run (200, 200) space)