Skip to main content

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

takigraphics-0.4.1.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TakiGraphics-0.4.1-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file takigraphics-0.4.1.tar.gz.

File metadata

  • Download URL: takigraphics-0.4.1.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

Hashes for takigraphics-0.4.1.tar.gz
Algorithm Hash digest
SHA256 573350acc889045f5c865b75624e5647b61739d84c21027432a34bc7e0727cf7
MD5 ebba3c3c542c69588934ff33b283428d
BLAKE2b-256 16a6be21e9a7ed15c653db6c9513bc0fa1a6d097c9b0223462fb95d99b5fa368

See more details on using hashes here.

File details

Details for the file TakiGraphics-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: TakiGraphics-0.4.1-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

Hashes for TakiGraphics-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43cac02d569827b3d0b551303535f9aad1f0a7b12a6c8c047496afb6742315ca
MD5 4b15974f885db381ff006e5dff49816a
BLAKE2b-256 f20fd9de7468e02b13a174567ff3e53f1f9b47e41de05d8a221a4103e3bd73f6

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