Skip to content

The famous game by mathematician John Horton Conway. To make it console based, you can use spaces for dead cells and # for live cells by Louis R.

License

Notifications You must be signed in to change notification settings

LouisRub/Game_of_life-RUBEUS-CDOF4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life Documentation

Description

The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway. It is a zero-player game that simulates the evolution of a grid of cells based on a set of rules.

Rules of the Game

Any live cell with fewer than two live neighbors dies, as if by underpopulation. Any live cell with two or three live neighbors lives on to the next generation. Any live cell with more than three live neighbors dies, as if by overpopulation. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

How to Run the Project

To run the Game of Life project, follow these steps:

  • Ensure that Python 3 is installed on your machine.
  • Clone the project repository from GitHub: [link to the repository]
  • Open a terminal or command prompt.
  • Navigate to the project directory.
  • Run the following command to start the game: python game_of_life.py

The game will start running in the terminal, displaying the grid and the generations.

Guide on How to Contribute

If you are interested in contributing to the Game of Life project, we welcome your contributions! Here is a guide to help you get started:

  • Fork the project repository on GitHub.
  • Clone your forked repository to your local machine.
  • Create a new branch for your contribution: git checkout -b your-branch-name
  • Make the necessary changes or additions to the codebase.
  • Test your changes locally to ensure they work as expected.
  • Commit your changes: git commit -m "Brief description of your changes"
  • Push your changes to your forked repository: git push origin your-branch-name
  • Create a pull request on the original repository from your forked repository.
  • Provide a detailed description of your changes in the pull request.

About

The famous game by mathematician John Horton Conway. To make it console based, you can use spaces for dead cells and # for live cells by Louis R.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages