Skip to main content

A collection of mini-games playable in the terminal

Project description

Terminal Mini Games

Welcome to the Terminal Mini Games project! This collection of mini-games is designed to run directly in your terminal, providing a fun and nostalgic gaming experience.

Project Overview

This project aims to create a suite of simple yet entertaining games that can be played entirely within a terminal environment. Currently, it includes:

  1. 2048 - A popular sliding tile puzzle game

More games will be added in the future!

Getting Started

Prerequisites

  • Python 3.7 or higher
  • pip (Python package installer)

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/terminal-mini-games.git
    cd terminal-mini-games
    
  2. Create a virtual environment:

    python -m venv myenv
    
  3. Activate the virtual environment:

    • On Windows:
      myenv\Scripts\activate
      
    • On macOS and Linux:
      source myenv/bin/activate
      
  4. Install the required packages:

    pip install -r requirements.txt
    

Running the Games

To start the game center, run:

python main.py

Follow the on-screen instructions to select and play a game.

Project Structure

  • main.py: The entry point of the application
  • games/: Directory containing individual game modules
  • utils/: Utility functions used across multiple games
  • assets/: Game assets, including high scores

Installation

You can install Terminal Mini Games directly from PyPI:

pip install terminal-mini-games

Contributing

We welcome contributions! If you'd like to add a new game or improve an existing one, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your feature
  3. Implement your changes
  4. Submit a pull request with a clear description of your modifications

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to all contributors who have helped build and improve these games
  • Inspired by classic terminal games and modern puzzle challenges

Enjoy playing and happy coding!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_mini_games-0.1.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminal_mini_games-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file terminal_mini_games-0.1.2.tar.gz.

File metadata

  • Download URL: terminal_mini_games-0.1.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for terminal_mini_games-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9eb8823c4b9062e0f277b044dbb9e291ae6cd1df522810cc7d86ca40f901256a
MD5 9d062c390ebc77da01bbde23d2e44470
BLAKE2b-256 7c2aa16c542e9334fb87015b599a59ab0ad7dbca20dcb080767cc894ede3f4c8

See more details on using hashes here.

File details

Details for the file terminal_mini_games-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_mini_games-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36bda41094b5b8b580f28156cc4bbafdb0b16f858e66261e4923a471c9d2a950
MD5 944823c6d258fc63eeb749e082060e05
BLAKE2b-256 83618a35aa84959438b7876dbc61452a90f95d2b6beea53ecbe5b941807b53ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page