Skip to content

Tmpecho/game_of_life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life

This is an implementation of Conway's Game of Life, a cellular automaton where simple rules evolve complex behavior.

Description

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.

This implementation of the Game of Life is written in Python. It includes classes for managing the game grid and cells, updating the grid based on the game rules, and visualizing the game state in the console.

Installation

To install the game, clone the repository and run the main.py script.

git clone https://github.com/Tmpecho/game_of_life.git
cd your-repo
python main.py

Usage

You can specify the grid size when running the script:

python main.py [grid_height] [grid_width]

If no size is specified, the default grid size is 40x40.

About

Conways Game of Life, written in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages