Skip to content

PrintN/Terminal-Games-Library

Repository files navigation

Terminal Games Library

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. TerminalGames

Games Overview

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:

Do You Want to Add a Terminal Game?

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:

  1. Create a New Folder: Add a new folder for your game in the root directory of the repository.
  2. Add Your Game Script: Place your game script inside the new folder.
  3. Write a README: Include a README.md file in your game’s folder with instructions on how to play your game.
  4. 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!

Getting Started

To get started with any of the games, follow these steps:

  1. 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.

  2. Clone the repository:

    git clone https://github.com/PrintN/Terminal-Games-Library.git
  3. Install packages:

    pip install -r requirements.txt
  4. Navigate to the game directory you want to play. For example, to play the Snake game

    cd Terminal-Games-Library/Snake
  5. Run the game

    python Snake.py

    Replace Snake.py with the appropriate script for the game you want to play.