Conway's Game of Life
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
simulacrumparty 2db438c475 Fix random bold fonts in readme il y a 3 ans
.gitignore Initial commit il y a 3 ans
LICENSE Initial commit il y a 3 ans
README.md Fix random bold fonts in readme il y a 3 ans
conway.py Initial commit il y a 3 ans
poetry.lock Initial commit il y a 3 ans
pyproject.toml Initial commit il y a 3 ans
test_conway.py Initial commit il y a 3 ans

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