A graphical interface for the Taki card game using Pygame.
Project description
TakiGraphics - Graphical Interface for Taki Game
TakiGraphics is a Python class designed to provide a graphical user interface (GUI) for the Taki card game using the Pygame library. It handles the rendering of cards, player locations, and other game elements, allowing the game to be visually played on a screen.
Features
- Card Display: Displays cards for each player and for the ground (center of the screen).
- Card Interaction: Allows players to select cards by clicking on them with the mouse.
- Player Locations: Cards are displayed according to different player locations such as UP, DOWN, LEFT.
- Color Selection Popup: Allows players to select colors (RED, YELLOW, GREEN, BLUE) during gameplay.
- Automatic Positioning: Cards are positioned automatically depending on the player's location and previous card positions.
Requirements
- Python 3.6 or higher
- Pygame library
You can install Pygame using pip:
pip install pygame
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 takigraphics-0.2.tar.gz.
File metadata
- Download URL: takigraphics-0.2.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9d87e0e97eaffe5a192fe2191a1ee73c08ddd3aa9800437f06051aa8b313d5
|
|
| MD5 |
cd20bde61d422b7428a2892ad436475c
|
|
| BLAKE2b-256 |
101d76fc84eeb4b1fb4de17147bb6702b06da54a6e64d4c52e83a6513779e7db
|
File details
Details for the file TakiGraphics-0.2-py3-none-any.whl.
File metadata
- Download URL: TakiGraphics-0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6b557043481f8e9bb58ad278561ebdad10156675578a887eb6ae913555d792c
|
|
| MD5 |
9d4f96730f1714aa848afd16939fed30
|
|
| BLAKE2b-256 |
99f06369ef75e82017d4be9edfe1084aef7f947dd6ff5d43d843fed3343dbee2
|