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:
- 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
-
Clone the repository:
git clone https://github.com/yourusername/terminal-mini-games.git cd terminal-mini-games -
Create a virtual environment:
python -m venv myenv -
Activate the virtual environment:
- On Windows:
myenv\Scripts\activate - On macOS and Linux:
source myenv/bin/activate
- On Windows:
-
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 applicationgames/: Directory containing individual game modulesutils/: Utility functions used across multiple gamesassets/: 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:
- Fork the repository
- Create a new branch for your feature
- Implement your changes
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eb8823c4b9062e0f277b044dbb9e291ae6cd1df522810cc7d86ca40f901256a
|
|
| MD5 |
9d062c390ebc77da01bbde23d2e44470
|
|
| BLAKE2b-256 |
7c2aa16c542e9334fb87015b599a59ab0ad7dbca20dcb080767cc894ede3f4c8
|
File details
Details for the file terminal_mini_games-0.1.2-py3-none-any.whl.
File metadata
- Download URL: terminal_mini_games-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36bda41094b5b8b580f28156cc4bbafdb0b16f858e66261e4923a471c9d2a950
|
|
| MD5 |
944823c6d258fc63eeb749e082060e05
|
|
| BLAKE2b-256 |
83618a35aa84959438b7876dbc61452a90f95d2b6beea53ecbe5b941807b53ea
|