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

Uploaded Python 3

File details

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

File metadata

  • Download URL: terminal_mini_games-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1956dbefa3d1d37f73c70da573d3b865dfed33e4e65fdf80d02ae5cce40324f6
MD5 abb8ce745835dd4342c7d3d9f92d62fa
BLAKE2b-256 dbe209c9a2fc584c194aa007cab655c1b46a3ae41f2f2a415978a587ac5b4692

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for terminal_mini_games-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4bd166c1b4e1791cbf32f0d52effa8c5f70be361cc7d15266609c60fc63affe2
MD5 c1e2825fb2efcb4879233da909932b8e
BLAKE2b-256 5917aaf5b57f50dc485ac036ebb46f994e14add47ad3828e159fd0447b4a6aa1

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