https://github.com/lorddarkula/gameoflife
Implementation of Conway's Game of life in Python using dictionaries
https://github.com/lorddarkula/gameoflife
conway-game dictionaries game-of-life life python tuples
Last synced: 8 months ago
JSON representation
Implementation of Conway's Game of life in Python using dictionaries
- Host: GitHub
- URL: https://github.com/lorddarkula/gameoflife
- Owner: LordDarkula
- Created: 2016-11-02T03:47:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-04T02:15:37.000Z (over 9 years ago)
- Last Synced: 2025-01-30T12:46:29.495Z (over 1 year ago)
- Topics: conway-game, dictionaries, game-of-life, life, python, tuples
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
Implementation of Conway's Game of life in Python using dictionaries. Cells stored
as a tuple of booleans, the first for whether the cell is alive (True) or dead (False),
and the second for whether the cell will be alive the next turn. Each key is a tuple
storing the coordinate ``(x, y)`` of the cell.