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.1.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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_mini_games-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a96ac7b4a292cdf66bb9fa13439d26b4cae5256fdd41dccd7b96d165e71d74b6
MD5 5831c5728e64ec9e3a7a3c1444d4570c
BLAKE2b-256 ae709d671dc7b49abdd487f440bdb77378b7a90de081d1546d80cafe55bb6ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_mini_games-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e8d8e3a9f306c1aa63f0681a1d3cb5aab8c693ac5f82aa6b09aa6ec9952bcc5
MD5 b9a8e69fdf25fbe1169c0f39974c92c7
BLAKE2b-256 681119a25c1585a44e447b4803485b400605ec577fc4f0a21f65a9e142610100

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