Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 574 Bytes

File metadata and controls

29 lines (22 loc) · 574 Bytes

Conway's Game of Life Python Implementation

Features

  • All rules of Conway's Game of Life
  • Basic Cells class (can be extended if needed)
  • PySDL2 render
  • Click to toggle cells
  • pause/play
  • Color visualization for age of cell

Controls

  • Space to Play/ pause
  • r to randomize cells (30% chance of the cell to be alive)
  • c to clear
  • click cell to toggle

Requirements

  • PySDL2
  • PySDL2.dll

TO INSTALL

  • Run these 2 commands in whatever python environment you have
  • pip install PySDL2
    pip install PySDL2.dll