Developer Builds Python Card Game Simulator for Filipino Classic Tongits
A developer has shared their first programming project: a Python-based digital version of Tongits, a popular Filipino card game for two to three players. The program uses a custom Deck class to create, shuffle, and deal twelve cards per player, storing each hand as a dictionary key-value pair. Two core functions handle game setup and gameplay logic, with a for loop continuously cycling through player turns until one player empties their hand. User input drives the game, allowing players to draw cards, form sets called 'houses,' and build on existing ones. The developer has published the project on DEV Community and is actively seeking feedback for further improvements.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in