Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qjs/game-of-life-pygame
Game of Life made in Pygame
https://github.com/qjs/game-of-life-pygame
game-of-life game-of-life-python
Last synced: about 7 hours ago
JSON representation
Game of Life made in Pygame
- Host: GitHub
- URL: https://github.com/qjs/game-of-life-pygame
- Owner: Qjs
- License: gpl-3.0
- Created: 2020-07-09T21:06:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T21:06:29.000Z (over 4 years ago)
- Last Synced: 2024-10-28T07:50:07.603Z (20 days ago)
- Topics: game-of-life, game-of-life-python
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Game of Life Pygame
Game of Life made in Pygame, in memory of Dr. John Conway
## Rules of the game:
[Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life), if you are not familiar, is a zero-player cellular automaton game on a 2D array that can make some fascinating evolutions given the right input instruction.
The Rules are very simple:
1. Any live cell with less than two live neighbors dies.
2. Any live cell with two or three live neighbors lives.
3. Any live cell with greater than three live neighbors dies.
4. Any dead cell with exactly three live neighbors becomes live.## Controls:
- Right Click: Make a cell alive
- Left Click: Make a cell dead
- Space: Start and Pause updating
- R: reset screen
## CommentsIf you have any comments and/or suggestions I'd be happy to take them!