Skip to main content

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

Title Image Options Image Arrow Menu Example 1 Arrow Menu Example 2 Regular Round

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.

  1. 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.

  2. After chosing the suit, you will be given the option to pick the card value of card you are guessing.

  3. 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.

    1. 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
    2. 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.
  4. When successfully guessing the card, 2 things will also happen.

    1. If there is still cards in the deck, you will have to keep guessing cards.
    2. 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.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guess_the_duck-0.11.0.tar.gz (217.3 kB view details)

Uploaded Source

Built Distribution

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

guess_the_duck-0.11.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file guess_the_duck-0.11.0.tar.gz.

File metadata

  • Download URL: guess_the_duck-0.11.0.tar.gz
  • Upload date:
  • Size: 217.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for guess_the_duck-0.11.0.tar.gz
Algorithm Hash digest
SHA256 d9c95fd1eeaaa1682a96a52002ec9eddcfb5a69d907ca26d0665e7dfa95b8623
MD5 7d5939e2bf62e5ccc739379e4f74f24b
BLAKE2b-256 6a0d9b1a588833dd4b9692dcf3e817003ae746a5de9f619d1c761c8f395dc6e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for guess_the_duck-0.11.0.tar.gz:

Publisher: python-publish.yml on DuckyBoi-XD/Guess-the-Duck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guess_the_duck-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guess_the_duck-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef2be2de954f44631f2db1c56cdc8ea29840d549b908b94f8f42850658c5be7f
MD5 a3c2da44ea4acd72d4b2edcf77cd5f21
BLAKE2b-256 154ee900a33402e62e96fb5f8e6935d1fbfd5def2312c2ab533f883e50de02b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for guess_the_duck-0.11.0-py3-none-any.whl:

Publisher: python-publish.yml on DuckyBoi-XD/Guess-the-Duck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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