Skip to main content

Game of Life - 1.0

Game of Life is a simple implementation of Conway's Game of Life using NumPy and Pygame's surfarray, able to calculate and show ~1 million cells and 60 generations per second on a very standard CPU.


Kalle Saariaho
(zeque92)
Game of Life simulates life; in the game's two dimensional grid every cell is either alive or dead, depending on the number of live cells next to it. The game can easily run thousands of generations, and produces some nice repeating patterns. This implementation is based on NumPy arrays for calculating each new generation and Pygame surfarray for efficiently showing them.

Changes

Game of Life simulates life; in the game's two dimensional grid every cell is either alive or dead, depending on the number of live cells next to it. The game can easily run thousands of generations, and produces some nice repeating patterns. This implementation is based on NumPy arrays for calculating each new generation and Pygame surfarray for efficiently showing them.

Links

Home Page
https://oldskoolpython.blogspot.com/2021/08/game-of-life.html
Source
https://github.com/zeque92/RealTime3DwithPython

Releases

Game of Life 1.0 — 3 Aug, 2021

Pygame.org account Comments