The Game of Life is a cellular automaton that simulates the behavior of a grid of cells. Each cell can be in one of two states: alive or dead. The game evolves through generations based on a set of rules, creating fascinating patterns and dynamic behaviors. It is a zero-player game, meaning that its evolution is determined solely by the initial configuration, requiring no further input from the player once the simulation starts.
Created: 2022
To get a local copy up and running follow these simple example steps.
You need to have the following things installed on your pc.
- Install
gcc. - Install
git.
Here are steps to download, build and install the following software.
- Clone the repo
git clone https://github.com/rezocrypt/terminal-game-of-life- Go to the directory
cd terminal-game-of-life- Build the project.
make- Run the project
./GameOfLiferun ./GameOfLife
Main MENU:
1 - For starting the game
2 - For exiting from game
3 - For help (you will see this)
4 - For changing parameters of game of life model
0 - For going back
1 - For changing height - (write like) 24
2 - For changing width - (write like) 80
3 - For changing alive symbol - (write like) @
4 - For changing dead symbol - (write like) #
5 - For changing alive cell color - (write like) 3
6 - For changing dead cell color - (write like) 2
7 - For changing rules when cell can born - (write ilke) 234
8 - For changing rules when cell will survive - (write ilke) 234
9 - For changing pattern - (write ilke) 0
9.1 - For changing only RANDOM pattern density - (write ilke) 5000
10 - For changing speed of simulation - (write ilke) 80
5 - Setting some pre-defined models
ProjecT codebase is licensed under GNU GPLv3 license. Please refer to the LICENSE.txt file for detailed information.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
- Rezocrypt - Original author of the project.
- Me - Telegram - rezocrypt@gmail.com