Skip to content

another remake of the game of life in python. Uses multi threading and has a few bonus features.

Notifications You must be signed in to change notification settings

Extraltodeus/Game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Game-of-life

A remake of the game of life in python. Uses multi threading and has a few bonus features.

Only requires pygame :

pip install pygame

Controls :

Left click : add/remove a cell

Middle click / D : Generate random cells

Right click / Space : pause/unpause

Mouse wheel : change grid resolution

Keypad +/- : Speed +/- (from 2 to 60 refresh per second)

Return / R : clear all cells

S : Step-by-step

F : Print grid in CLI (low res grids work best)

G : Do one step and print grid in CLI

Screenshot :

Now with a rule editor :

Screenshot

Note : enabling 0 in 'Stay' will only disable the performance improvments. This is a debug feature.

About

another remake of the game of life in python. Uses multi threading and has a few bonus features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages