summaryrefslogtreecommitdiffstats
path: root/labb1/res
diff options
context:
space:
mode:
Diffstat (limited to 'labb1/res')
-rw-r--r--labb1/res/diehard.txt31
-rw-r--r--labb1/res/dinner-table.txt22
-rw-r--r--labb1/res/fish.txt37
-rw-r--r--labb1/res/flower.txt29
-rw-r--r--labb1/res/glider-explosion.txt41
-rw-r--r--labb1/res/glider-gun.txt37
-rw-r--r--labb1/res/glider.txt26
-rw-r--r--labb1/res/mycolony.txt5
-rw-r--r--labb1/res/quilt-square.txt25
-rw-r--r--labb1/res/rpent.txt52
-rw-r--r--labb1/res/seeds.txt27
-rw-r--r--labb1/res/simple.txt13
-rw-r--r--labb1/res/snowflake.txt26
-rw-r--r--labb1/res/spiral.txt23
-rw-r--r--labb1/res/stableplateau.txt15
-rw-r--r--labb1/res/tictactoe.txt36
16 files changed, 445 insertions, 0 deletions
diff --git a/labb1/res/diehard.txt b/labb1/res/diehard.txt
new file mode 100644
index 0000000..b291d71
--- /dev/null
+++ b/labb1/res/diehard.txt
@@ -0,0 +1,31 @@
+25
+20
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+-------------X------
+-------XX-----------
+--------X---XXX-----
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+--------------------
+
+# Stephen Silver
+# Starts with 7 cells and lasts 130 generations
+# before all cells die out.
diff --git a/labb1/res/dinner-table.txt b/labb1/res/dinner-table.txt
new file mode 100644
index 0000000..e18151f
--- /dev/null
+++ b/labb1/res/dinner-table.txt
@@ -0,0 +1,22 @@
+15
+15
+---------------
+--X------------
+--XXX-------XX-
+-----X------X--
+----XX----X-X--
+----------XX---
+---------------
+------XXX------
+------XXX------
+---XX----------
+--X-X----XX----
+--X------X-----
+-XX-------XXX--
+------------X--
+---------------
+
+# by Robert Wainwright.
+# A spiderly looking creation with a
+# spinner in the middle that cycles
+# every 12 generations.
diff --git a/labb1/res/fish.txt b/labb1/res/fish.txt
new file mode 100644
index 0000000..225c582
--- /dev/null
+++ b/labb1/res/fish.txt
@@ -0,0 +1,37 @@
+30
+45
+---------------------------------------------
+---------------------------------------------
+--X----X-------------------------------------
+--------X------------------------------------
+--X-----X------------------------------------
+---XXXXXX------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------X---X-
+--------------------------------------X------
+--------------------------------------X----X-
+--------------------------------------XXXXX--
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+--X--X----------------------X--X-------------
+------X-------------------------X------------
+--X---X---------------------X---X------------
+---XXXX----------------------XXXX------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------X----X------
+--------------------------------X------------
+--------------------------------X-----X------
+--------------------------------XXXXXX-------
+---------------------------------------------
+---------------------------------------------
+
+# Welcome to Julie's fish aquarium.
+# These little guys swim back and forth.
+# In the lingo of Life, these guys are
+# called "spaceships"
diff --git a/labb1/res/flower.txt b/labb1/res/flower.txt
new file mode 100644
index 0000000..a43a46e
--- /dev/null
+++ b/labb1/res/flower.txt
@@ -0,0 +1,29 @@
+19
+27
+---------------------------
+---------------------------
+---------------------------
+---XX-----------------XX---
+---XX--------X--------XX---
+------------X-X------------
+----------X-----X----------
+------X-X---XXX---X-X------
+-------X-X---X---X-X-------
+-------X-X---X---X-X-------
+-------X-X---X---X-X-------
+------X-X---XXX---X-X------
+----------X-----X----------
+------------X-X------------
+---XX--------X--------XX---
+---XX-----------------XX---
+---------------------------
+---------------------------
+---------------------------
+
+# jzelenski
+# I just made this one up. If you start
+# with symmetric colonies, you tend to
+# get interesting kaleidoscopic effects.
+# This one evolves to a repetitive colony
+# after a burst of energy out of the
+# starting gate.
diff --git a/labb1/res/glider-explosion.txt b/labb1/res/glider-explosion.txt
new file mode 100644
index 0000000..2204d3c
--- /dev/null
+++ b/labb1/res/glider-explosion.txt
@@ -0,0 +1,41 @@
+35
+38
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+-----------------XXXX-----------------
+--------------------------------------
+---------------XXXXXXXX---------------
+--------------------------------------
+-------------XXXXXXXXXXXX-------------
+--------------------------------------
+---------------XXXXXXXX---------------
+--------------------------------------
+-----------------XXXX-----------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+--------------------------------------
+
+# Glider explosion
+# Sends out 4 gliders, one to each
+# corner which then stablize there
diff --git a/labb1/res/glider-gun.txt b/labb1/res/glider-gun.txt
new file mode 100644
index 0000000..e741e56
--- /dev/null
+++ b/labb1/res/glider-gun.txt
@@ -0,0 +1,37 @@
+30
+45
+---------------------------------------------
+--------------------X------------------------
+--------------------X-X----------------------
+---------------------X-X-------X-------------
+--------XX-----------X--X------XX------------
+--------XX-----------X-X--XX----XX-----------
+--------------------X-X---XX----XXX-------XX-
+--------------------X-----XX----XX--------XX-
+-------------------------------XX------------
+-------------------------------X-------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+---------------------------------------------
+
+# Gosper's Glider Gun.
+# The "gun" at the top will repeatedly fire off gliders that
+# head southwest. With it, Gosper claimed a $50 prize offered
+# by Conway for the discovery of a Life pattern which grows without bound.
diff --git a/labb1/res/glider.txt b/labb1/res/glider.txt
new file mode 100644
index 0000000..c1b4c0a
--- /dev/null
+++ b/labb1/res/glider.txt
@@ -0,0 +1,26 @@
+20
+15
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---------------
+---X-----------
+-X-X-----------
+--XX-----------
+---------------
+---------------
+
+# Glider explosion
+# Sends out 4 gliders, one to each
+# corner which then stablize there
diff --git a/labb1/res/mycolony.txt b/labb1/res/mycolony.txt
new file mode 100644
index 0000000..2ea0375
--- /dev/null
+++ b/labb1/res/mycolony.txt
@@ -0,0 +1,5 @@
+# This file is empty for now, but you should delete this initial text
+# and replace it with your own creative input file representing a
+# starting state for the Game of Life simulation.
+# The file should be your own creation that is different from the
+# other provided starter grid files.
diff --git a/labb1/res/quilt-square.txt b/labb1/res/quilt-square.txt
new file mode 100644
index 0000000..a328d21
--- /dev/null
+++ b/labb1/res/quilt-square.txt
@@ -0,0 +1,25 @@
+20
+20
+--------------------
+-----XX------XX-----
+----X--X----X--X----
+----X-X-X--X-X-X----
+--XX--X-XXXX-X--XX--
+-X-----X----X-----X-
+-X-XX----------XX-X-
+--X--X--------X--X--
+---XX----------XX---
+----X----------X----
+----X----------X----
+---XX----------XX---
+--X--X--------X--X--
+-X-XX----------XX-X-
+-X-----X----X-----X-
+--XX--X-XXXX-X--XX--
+----X-X-X--X-X-X----
+----X--X----X--X----
+-----XX------XX-----
+--------------------
+
+# From Computer Magaazine 2001, Eric Weisstein
+# Flower-like pattern that cycles endlessly.
diff --git a/labb1/res/rpent.txt b/labb1/res/rpent.txt
new file mode 100644
index 0000000..6b9ccaa
--- /dev/null
+++ b/labb1/res/rpent.txt
@@ -0,0 +1,52 @@
+47
+74
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+----------------------------------XX--------------------------------------
+---------------------------------XX---------------------------------------
+----------------------------------X---------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+--------------------------------------------------------------------------
+
+# stepp
+# An R-pentomino is a pattern that repeats every 1103 iterations.
diff --git a/labb1/res/seeds.txt b/labb1/res/seeds.txt
new file mode 100644
index 0000000..b4357bc
--- /dev/null
+++ b/labb1/res/seeds.txt
@@ -0,0 +1,27 @@
+20
+30
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+-------------X----------------
+-------------X----------------
+-------------X----------------
+---------XXX---XXX------------
+-------------X----------------
+-------------X----------------
+-------------X----------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+------------------------------
+
+# jzelenski
+# A symmetric pattern that takes about 30
+# steps to evolve to the same repeating
+# cycle as the Snowflake pattern.
diff --git a/labb1/res/simple.txt b/labb1/res/simple.txt
new file mode 100644
index 0000000..8df01f9
--- /dev/null
+++ b/labb1/res/simple.txt
@@ -0,0 +1,13 @@
+5
+9
+---------
+---------
+---XXX---
+---------
+---------
+
+# jzelenski
+# This is a very simple colony, good for a first test case.
+# It is a 5x9 world, with no live cells on the border and
+# length 3 bar in the middle that will alternate between
+# horizontal and vertical.
diff --git a/labb1/res/snowflake.txt b/labb1/res/snowflake.txt
new file mode 100644
index 0000000..d13e49e
--- /dev/null
+++ b/labb1/res/snowflake.txt
@@ -0,0 +1,26 @@
+20
+31
+-------------------------------
+-------------------------------
+-------------------------------
+-----------XXX---XXX-----------
+-------------------------------
+---------X----X-X----X---------
+---------X----X-X----X---------
+---------X----X-X----X---------
+-----------XXX---XXX-----------
+-------------------------------
+-----------XXX---XXX-----------
+---------X----X-X----X---------
+---------X----X-X----X---------
+---------X----X-X----X---------
+-------------------------------
+-----------XXX---XXX-----------
+-------------------------------
+-------------------------------
+-------------------------------
+-------------------------------
+
+# jzelenski
+# This cool pattern infinitely repeats
+# between three symmetric configurations.
diff --git a/labb1/res/spiral.txt b/labb1/res/spiral.txt
new file mode 100644
index 0000000..a485ad6
--- /dev/null
+++ b/labb1/res/spiral.txt
@@ -0,0 +1,23 @@
+15
+20
+--------------------
+--------------------
+----------XX--------
+-----------X--------
+------XXX--XX-------
+----XXX-X---X-------
+----X----X-XX-------
+--------X-X---------
+------XX-X----X-----
+------X---X-XXX-----
+------XX--XXX-------
+-------X------------
+-------XX-----------
+--------------------
+--------------------
+
+# jzelenski
+# This nifty colony infinitely repeats in
+# a cycle of about 10 different symmetric
+# patterns that each resemble some sort of
+# spiral.
diff --git a/labb1/res/stableplateau.txt b/labb1/res/stableplateau.txt
new file mode 100644
index 0000000..a0616d7
--- /dev/null
+++ b/labb1/res/stableplateau.txt
@@ -0,0 +1,15 @@
+10
+10
+--------XX
+--------XX
+----------
+-----X----
+----X-X---
+----X-X---
+-----X----
+----------
+XX--------
+XX--------
+
+# jzelenski
+# This file is a stable pattern.
diff --git a/labb1/res/tictactoe.txt b/labb1/res/tictactoe.txt
new file mode 100644
index 0000000..677ce2d
--- /dev/null
+++ b/labb1/res/tictactoe.txt
@@ -0,0 +1,36 @@
+31
+45
+---------------------------------------------
+------X-------------------------------X------
+------X--------------XXX--------------X------
+------X-------------------------------X------
+-------------------X-----X-------------------
+--XXX---XXX--------X-----X--------XXX---XXX--
+-------------------X-----X-------------------
+------X-------------------------------X------
+------X--------------XXX--------------X------
+------X-------------------------------X------
+---------------------------------------------
+----------------------X----------------------
+-----XXX--------------X--------------XXX-----
+----------------------X----------------------
+---X-----X-------------------------X-----X---
+---X-----X--------XXX---XXX--------X-----X---
+---X-----X-------------------------X-----X---
+----------------------X----------------------
+-----XXX--------------X--------------XXX-----
+----------------------X----------------------
+---------------------------------------------
+------X-------------------------------X------
+------X--------------XXX--------------X------
+------X-------------------------------X------
+-------------------X-----X-------------------
+--XXX---XXX--------X-----X--------XXX---XXX--
+-------------------X-----X-------------------
+------X-------------------------------X------
+------X--------------XXX--------------X------
+------X-------------------------------X------
+---------------------------------------------
+
+# jzelenski
+# A 3x3 grid of alternating +/0 shapes.