Skip to content

A quick Python version of the Conway's Game of Life

License

Notifications You must be signed in to change notification settings

arukavina/life-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life-Game Simulation

Life Game Simulation

This is a Python-based implementation of Conway's Game of Life, built using Pygame. The simulation runs an interactive version of the Life-Game, complete with a generation counter, time elapsed, and logic to detect when the generations stabilize or repeat.

Features

  • Dynamic Simulation: Visualizes the evolution of cell generations in real-time.
  • Generation Counter: Displays the number of generations since the start of the simulation.
  • Time Tracking: Shows how much time has elapsed since the simulation started.
  • Stable Generations Detection: Detects when the simulation reaches a stable state or enters a loop where new generations mirror previous ones.

Demo

Check out a preview of the game in action!

Life Game Simulation

Requirements

Make sure you have the following installed:

  • Python 3.x
  • Pygame (Install using pip install pygame)

Installation

To run the project locally:

  1. Clone the repository:
    git clone https://github.com/arukavina/life-game.git

About

A quick Python version of the Conway's Game of Life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages