aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-24 10:11:26 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-24 10:11:26 +0200
commit30053806974358f6a58cfd5889ab033d4290ba04 (patch)
tree73e4c60644468a2a12588023bf76bbfaabd0099b
parent92eb91cae76192ba0127f8bde3c78d1b3371a63e (diff)
downloadgame_of_life-30053806974358f6a58cfd5889ab033d4290ba04.tar.gz
game_of_life-30053806974358f6a58cfd5889ab033d4290ba04.tar.bz2
game_of_life-30053806974358f6a58cfd5889ab033d4290ba04.zip
adding README
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4beeec2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,19 @@
+# Game of life
+
+Command line to observe how [Conway's game of life](https://www.wikiwand.com/en/Conway's_Game_of_Life) works.
+
+## Installation
+
+[pygame](https://www.pygame.org) for a graphical representation:
+`> pip install pygame`
+
+Patterns database can be downloaded [here](www.conwaylife.com/patterns/all.zip), put all files in the [patterns](patterns/) directory.
+
+## Usage
+
+For a quick demo: `> python main.py`.
+To see the different options: `python main.py -h`.
+
+In graphical mode you can move around using arrow keys and zoom in and out with `+` and `-`.
+
+There is also an ugly console display: `python main.py --console-display`.