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

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_mini_games-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 38bd183f81b81862cf3483ea9292327a71058a198826c4fc2a508dd65d09d2e9
MD5 594b29e9af7d4f1a55ff32d104317472
BLAKE2b-256 c70f23f02638dee67c8eabf0afeacdf705dbda1ba71b13323880498ca111eef9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_mini_games-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca02f74677c77420f5a5a3ea0a2c0842321de39fa2e6d0b2a99432709146f8b
MD5 710a0b713db9c16002a5c7d38c8285c1
BLAKE2b-256 75a59681c366e1f1e0c42b7a584e89f67491a5a1460e27aaae8e68c5afd43237

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