https://github.com/matheusgomes28/pygame-life
Implementation of Conway's Game Of Life in a few lines of Python. Keep it simple and learn how to code this game!
https://github.com/matheusgomes28/pygame-life
coding coding-challenge conway conways-game-of-life game mathematics python
Last synced: 4 months ago
JSON representation
Implementation of Conway's Game Of Life in a few lines of Python. Keep it simple and learn how to code this game!
- Host: GitHub
- URL: https://github.com/matheusgomes28/pygame-life
- Owner: matheusgomes28
- Created: 2021-08-02T18:37:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T17:06:31.000Z (over 1 year ago)
- Last Synced: 2025-04-02T14:03:10.782Z (6 months ago)
- Topics: coding, coding-challenge, conway, conways-game-of-life, game, mathematics, python
- Language: Python
- Homepage: https://matgomes.com/conways-game-of-life-python/
- Size: 193 KB
- Stars: 11
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pygame Of Life
Implementation of Conway's "Game Of Life" in less than 100
lines of modern Python.
The engine is entirely and purely implemented using vanilla
Python 3.9, and [Pygame](https://www.pygame.org/) is used for
the graphics front.## Running The Game
I recommend using the latest version of Python (3.9) on a
separate environment to your normal development one. Two
good options are Anaconda or Virtualenv, just create a new
environment for this game and install the dependencies with:```shell
pip install -r requirements.txt
```Given that all the dependencies were installed, running the
game is as simple as```shell
python pygame_life.py
```## Understand The Code
This game was created for a post in my personal blog.
The intention was to show that, by keeping it simple, [Conway's Game Of Life
can be implemented in a few lines of Python](https://matgomes.com/conways-game-of-life-python).