Conway's Game of Life
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
simulacrumparty 2db438c475 Fix random bold fonts in readme vor 3 Jahren
.gitignore Initial commit vor 3 Jahren
LICENSE Initial commit vor 3 Jahren
README.md Fix random bold fonts in readme vor 3 Jahren
conway.py Initial commit vor 3 Jahren
poetry.lock Initial commit vor 3 Jahren
pyproject.toml Initial commit vor 3 Jahren
test_conway.py Initial commit vor 3 Jahren

README.md

Conway’s Game of Life

An command-line implementation of Conway’s Game of Life in Python. It looks better with a square font such as Square.

Usage

$ python conway.py --help
usage: conway.py [-h] [-f FILE] [-s SPEED]

Conway's Game of Life

optional arguments:

  -h, --help

     show this help message and exit

  -f FILE, --file FILE

     The path to a file containing a starting grid. The grid file should use 0 for dead cells and 1 for living cells.

  -s SPEED, --speed SPEED

     The delay between iterations in milliseconds (default: 500, minimum: 100)

Testing

$ pytest

License

MIT