A CLI python-made game where you need to guess every card in a playing deck
Project description
Guess The Duck
This project is called Guess the Duck, which is a CLI Python card game where you need to guess every single card in the regular playing card deck.
Features
- Save File: A funtion where when exiting out of the terminal window, the game automatically saves the progress of the game (Deck's Completed, Correct Guesses in th Deck, Cards Removed from the Deck, etc)
- CLI: The game runs on the Command Line Interface which presents a easy to use, and global platform.
- ASCII: This game uses ASCII art to create the image of the cards and title screen.
- ANSI escape codes: The game includes and uses ANSI escape codes which creates colour and bokldness
- Pypi: This game uses Pypi which makes the game easier to access and run.
Images
How to Access/Play
How the Game Works
The aim of the game is to guess every single card in a regular playing card deck.
-
When entering into the game you will encounter a title screen. When any key is pressed, you'll be given options for a suit, this will represent the suit of the card you will pick.
-
After chosing the suit, you will be given the option to pick the card value of card you are guessing.
-
Then, once confirming the card, the game will (after shuffling the deck) draw the top card of the deck. This is the card that has to match the card your card. there will be 2 outcomes.
- If the card you guessed is not the same as the card on the top of the deck, the drawn card will be place on the bottom of the deck and you will process to guess again
- If the card you guessed is the same as the card on the top of the deck, the drawn card will be removed from the deck as well as the option to pick that card. The stats will also increase showing you how much card you have successfully guessed from the deck.
-
When successfully guessing the card, 2 things will also happen.
- If there is still cards in the deck, you will have to keep guessing cards.
- If there is no more cards in the deck, you've successfully guessed an entire deck of playing cards. Your win counter will increase and you will be given the option to press any key to start another deck.
-
Rince and Repeat.
Notes
This game is exteremly challenging and compared to my past games, it's really difficult to guess even one entire deck.
This game is called Guess The Duck, but by now you can probarly tell that it's not guessing ducks but guessing cards.
Project details
Release history Release notifications | RSS feed
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 guess_the_duck-0.7.0.tar.gz.
File metadata
- Download URL: guess_the_duck-0.7.0.tar.gz
- Upload date:
- Size: 213.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e78dcad0d33b235f4a33541d0784eb9465923a5bac9f02ab4dc7362357ef3d7
|
|
| MD5 |
56cff5a8d3d562926d5549e3dda65fb9
|
|
| BLAKE2b-256 |
212d8713cce99cbf2383893fa7ba3aaf24b4d0dcc9cbd0fe8f293e74aabe2c3a
|
Provenance
The following attestation bundles were made for guess_the_duck-0.7.0.tar.gz:
Publisher:
python-publish.yml on DuckyBoi-XD/Guess-the-Duck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
guess_the_duck-0.7.0.tar.gz -
Subject digest:
6e78dcad0d33b235f4a33541d0784eb9465923a5bac9f02ab4dc7362357ef3d7 - Sigstore transparency entry: 1459162208
- Sigstore integration time:
-
Permalink:
DuckyBoi-XD/Guess-the-Duck@f30e65546d298be33af3653895120fb9545ba6ed -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/DuckyBoi-XD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f30e65546d298be33af3653895120fb9545ba6ed -
Trigger Event:
release
-
Statement type:
File details
Details for the file guess_the_duck-0.7.0-py3-none-any.whl.
File metadata
- Download URL: guess_the_duck-0.7.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4802be04587afb4dfe0d8cc099a03b6028dbcce5f136f0159684eed86d2b15d
|
|
| MD5 |
9b167d92bc4693612c2434e863260f5a
|
|
| BLAKE2b-256 |
9c27026d2220ab93da7624d155f6b74a6ae9bc30f35877806e57d52eabbec69b
|
Provenance
The following attestation bundles were made for guess_the_duck-0.7.0-py3-none-any.whl:
Publisher:
python-publish.yml on DuckyBoi-XD/Guess-the-Duck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
guess_the_duck-0.7.0-py3-none-any.whl -
Subject digest:
e4802be04587afb4dfe0d8cc099a03b6028dbcce5f136f0159684eed86d2b15d - Sigstore transparency entry: 1459162350
- Sigstore integration time:
-
Permalink:
DuckyBoi-XD/Guess-the-Duck@f30e65546d298be33af3653895120fb9545ba6ed -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/DuckyBoi-XD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f30e65546d298be33af3653895120fb9545ba6ed -
Trigger Event:
release
-
Statement type: