From 30053806974358f6a58cfd5889ab033d4290ba04 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 24 Aug 2019 10:11:26 +0200 Subject: adding README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md 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`. -- cgit