This is an implementation of Conway's Game of Life in Python I created as an exercise in understanding Python and Test-Driven Development in Python. Created by @basicallydan.
Run python gameoflife.py
and you should see a 20x20 world starting with a glider. Each step, the glider will move and eventually die out when it hits the edge of the world. If you want to change the size of the world or starting population, please edit gameoflife.py
.
Run python gameoflifetest.py
and you should see some dots followed by a little OK
message
If you'd like to contribute, that's great and I encourage it - I do, however, also encourage reading the contributing doc first. The golden rule for contributing is that you ensure that the tests are still passing before you make a pull request.