https://github.com/robotane/cardioplay
A Playing Card game made with Python and Pygame
https://github.com/robotane/cardioplay
card-game game multiplayer-game pygame pygame-gui python python-game python3
Last synced: 8 months ago
JSON representation
A Playing Card game made with Python and Pygame
- Host: GitHub
- URL: https://github.com/robotane/cardioplay
- Owner: robotane
- License: gpl-3.0
- Created: 2021-04-18T21:53:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-25T20:57:03.000Z (over 4 years ago)
- Last Synced: 2025-05-08T23:57:25.026Z (8 months ago)
- Topics: card-game, game, multiplayer-game, pygame, pygame-gui, python, python-game, python3
- Language: Python
- Homepage:
- Size: 2.51 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CardIoPlay
A Playing Card game made with Python and Pygame.
I made this game to get familiar with the Python programing language, so **it's not perfect** but it's *playable*.
It has a multiplayer mode: the two machine need to be connected to same network.
## Game first window: Setup the game

## Playing a survival mode of 4 players

The game's rules are very simple:
* At the beginning, a radom player plays a card of his choice
* You just have to play (by clicking on it in your cards) a card which suit (Spade, Heart, Diamond or Club) is same to the curent played card. If it happens that you don't have one of the same suit, you can take one of the already played cards (again, by clicking on it).
* The raw ends when the last player has played or a card has been taken.
* At the end of the raw, the player with higest card rank wins the raw and starts a new raw by playing a card of his choice.
* When a player has played all his cards, he leaves the game.
* Players are ordered by leaving order: the first player to leave is the first and the last to leave is the last.
* In survival mode:
* the last player to leave gets a *Yellow Card*,
* if a player got two *Yellow Cards* he leaves definitively the game,
* the very last player is the big winner.