Welcome to the random_games_cli repository! This repo currently contains two classic games that can be played directly from the command line interface (CLI): Snake and Game of Life. These games are written in Python and can be run without needing to download any additional libraries.
- Snake: A classic game where you control a snake to eat fruits and grow longer. Avoid hitting the walls or yourself to keep playing.
- Game of Life: A famous cellular automaton developed by John Conway. Watch how cells evolve with each iteration according to simple rules.
- Python 3.x installed on your machine.
No additional installation is needed! Simply clone this repository and run the Python scripts.
git clone https://github.com/your-username/random_games_cli.git
cd random_games_cli
To play Snake, run the Snake.py
script:
python snake.py
To observe the Game of Life, run the GameOfLife.py
script:
python game_of_life.py