Welcome to the Terminal Games Library! This repository is a collection of classic terminal-based games implemented in Python. It's designed to provide a simple, fun way to play games directly from your terminal.
The repository is organized into different folders, each containing a unique game or set of games. Here's a quick overview of the games folders:
We welcome contributions to expand our collection of terminal games. If you have a game idea or a completed game that you'd like to add to this repository, please follow the guidelines below:
- Create a New Folder: Add a new folder for your game in the root directory of the repository.
- Add Your Game Script: Place your game script inside the new folder.
- Write a README: Include a
README.md
file in your game’s folder with instructions on how to play your game. - Create a Contribution Issue: Open an issue in the repository to describe the game you're adding and link to the new folder and README.
If you need any help or have questions about adding a game, feel free to ask for guidance in the issues section or contact the repository maintainers.
Thank you for contributing and helping to grow the Terminal Games Library!
To get started with any of the games, follow these steps:
-
Download and Install Python
Ensure you have Python installed on your machine. You can download the latest version of Python from the official Python website. Follow the installation instructions for your operating system.
-
Clone the repository:
git clone https://github.com/PrintN/Terminal-Games-Library.git
-
Install packages:
pip install -r requirements.txt
-
Navigate to the game directory you want to play. For example, to play the Snake game
cd Terminal-Games-Library/Snake
-
Run the game
python Snake.py
Replace Snake.py with the appropriate script for the game you want to play.