summaryrefslogtreecommitdiff
path: root/Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp')
-rw-r--r--Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp b/Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp
new file mode 100644
index 0000000..f7b68e3
--- /dev/null
+++ b/Homework/cs3460/gameoflife/PatternGosperGliderGun.cpp
@@ -0,0 +1,41 @@
+#include "PatternGosperGliderGun.hpp"
+
+PatternGosperGliderGun::PatternGosperGliderGun() :
+ PatternSet({ { 0, 4 },
+ { 0, 5 },
+ { 1, 4 },
+ { 1, 5 },
+ { 10, 4 },
+ { 10, 5 },
+ { 10, 6 },
+ { 11, 3 },
+ { 11, 7 },
+ { 12, 2 },
+ { 12, 8 },
+ { 13, 2 },
+ { 13, 8 },
+ { 14, 5 },
+ { 15, 3 },
+ { 15, 7 },
+ { 16, 4 },
+ { 16, 5 },
+ { 16, 6 },
+ { 17, 5 },
+ { 20, 2 },
+ { 20, 3 },
+ { 20, 4 },
+ { 21, 2 },
+ { 21, 3 },
+ { 21, 4 },
+ { 22, 1 },
+ { 22, 5 },
+ { 24, 0 },
+ { 24, 1 },
+ { 24, 5 },
+ { 24, 6 },
+ { 34, 2 },
+ { 34, 3 },
+ { 35, 2 },
+ { 35, 3 } })
+{
+}