https://github.com/miguelnietoa/conwaygameoflife
Conway's Game of Life - Juego de la Vida de Conway
https://github.com/miguelnietoa/conwaygameoflife
conway-game conway-s-game-of-life life python simulation
Last synced: 3 months ago
JSON representation
Conway's Game of Life - Juego de la Vida de Conway
- Host: GitHub
- URL: https://github.com/miguelnietoa/conwaygameoflife
- Owner: miguelnietoa
- License: gpl-3.0
- Created: 2020-04-11T01:17:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T23:07:59.000Z (over 1 year ago)
- Last Synced: 2025-01-31T05:48:00.329Z (5 months ago)
- Topics: conway-game, conway-s-game-of-life, life, python, simulation
- Language: Python
- Homepage:
- Size: 139 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conway's Game Of Life - Juego de la Vida de Conway
Python program that simulates the Conway's Game of Life. This simulation is developed
in Python using PyGame and ThorPy modules for the view and MatplotLib to generate plots.
# The rules of this game are:
* Any live cell with two or three live neighbors survives.
* Any dead cell with three live neighbors becomes a live cell.
* All other live cells die in the next generation. Similarly, all other dead cells stay dead.# How it works?
A board of size n × n is created and from N starting cells, located randomly,
the game will start. From this, and with an input parameter m,
where m is the number of generations to display this simulation will
show a graph showing the number of live, births and deaths in each generation.
### See animation:
> Initial state:
> Final state:
### See plot:
> Set up the params of simulation:
> Watch the statistics: