Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.03 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.03 KB

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 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:

pip install -r requirements.txt

Given that all the dependencies were installed, running the game is as simple as

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.