Skip to main content

A terminal-based gambling card game inspired by 'Ride The Bus'

Project description

Ride-The-Duck

Ride The Duck is a gambling, CLI, binary executable game based on the drinking game "Ride The Bus." Ride The Duck incorporates the first stage of Ride The Bus, where you need to guess if the next card fits into either category, with each category giving you a better multiplier to your initial bet, earning you more.

Features

Ride The Duck contains many different features:

  • Save file: When exiting the terminal or the game, your data (money, name, stats) will be saved.
  • CLI: The game appears and runs on the Command Line Interface for a techy and hacky vibe.
  • ASCII: Part of the game's interface is made using ASCII, which gives a cool visual effect.
  • ANSI escape codes: The game's text is configured with color to pop out.
  • PyPI: You can play the game using PyPI packages / pip.
  • Duck: Ducks are added to replace Jacks.
  • Gambling: You are given money to gamble with, for fun.
  • macOS Compatibility: Runs on macOS and maybe Linux... not really a feature but I can't make it compatible with Windows (If this game gets enough support I'll try to do it).

Gameplay

Picture1 Picture2 Picture3 Picture4

How Do You Play Ride The Duck?

When you play the main game, you first need to enter how much you want to bet. After you complete the bet stage, there are 4 rounds, each round giving you a better multiplier for your money.

  1. Red or Black x2

  2. Over or Under x3

  3. Inside or Outside x4

  4. Suit x20

After completing each stage, you're able to cash out and collect your bet with the multiplier of the round or continue and try to collect a higher multiplier.

The first round is guessing if the next/first card is going to be Red or Black. Completing this will give you a 2x multiplier on your initial bet.

The second round is guessing if the next card is going to be over or under the first card. Completing this will give you a 3x multiplier on your initial bet.

The third round is guessing if the next card is going to be between the first 2 cards or outside them. Completing this will give you a 4x multiplier on your initial bet.

Lastly, the fourth round is guessing the suit of the next/last card. Completing this will give you a 20x multiplier on your initial bet.

On the last stage, you can only cash out, earning the holy 20x multiplier.

How to play (macOS ONLY, Potentially Linux)

Binary Executable (macOS arm64 ONLY)

To download the binary executable (TERMINAL CRAFT), you can follow these steps:

  1. Go to the releases page of Ride The Duck.

  2. Go to the most recent version and download the file: "RTD-G 'VERSION' macOS arm64 tar.gz". This is the file that has the game on it.

  3. Go to the file location (most likely 'Downloads') and open the downloaded file.

  4. Bypass the Apple security by:

    • Double click the "RTD-Game" executable file and press "Done" (NOT "Move to Bin"). Go to Settings > Privacy & Security and under Security, select Open Anyway on the game file name "RTD-Game".

    or

     Example:
    
     ```sh
     cd /Users/"UserName"/Downloads 
     ```
    
     Then use this command to bypass the security:
    
     ```sh
     xattr -d com.apple.quarantine RTD-Game
     ```
    
  5. Double click or open the game executable file and have fun c:

If you're not comfortable with letting your guard down and bypassing the security, you can message me on Slack (soon to be changed) @DuckyBoi_XD or Email and I'll try to respond ASAP to send you the file that shouldn't require any security bypass.

PyPI (macOS Only, Maybe Linux)

For this you need to have Python installed (most systems should already have it installed).

  1. Check for pip or Python in your terminal:

    python --version
    

    or

    python3 --version
    

    and then

    pip --version
    

    or

    pip3 --version
    

    If you get a response with a version number then you should be all set. If your Python is 3.8 or above then it should be good. If your pip is 21.3 or above then it should be good.

  2. Install Ride The Duck

    In your terminal, install Ride The Duck by using one of these commands:

    pip3 install ride-the-duck
    

    or

    pip install ride-the-duck
    

    or

    python -m pip install ride-the-duck
    

    If you get a confirmation about ride-the-duck being installed then you should be good to go.

  3. Run game

    To run the game, all you need to do is use the command 'RTD' or 'ride-the-duck'.

  4. Have fun C:

PyPI Pipx (macOS ONLY, Maybe Linux)

In Terminal:

  1. Install: pipx install ride-the-duck
  2. Play: RTD

Make sure pipx is installed (pip install pipx). If RTD command is not found, run pipx ensurepath first to set up your PATH.

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

ride_the_duck-1.0.31.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

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

ride_the_duck-1.0.31-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file ride_the_duck-1.0.31.tar.gz.

File metadata

  • Download URL: ride_the_duck-1.0.31.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ride_the_duck-1.0.31.tar.gz
Algorithm Hash digest
SHA256 fa88710689ac17f344a2e1a12c2b373950d113d27d33a3602df81bf60ef28a79
MD5 cff1ab56dcd27aa73efce8d0a97c2a9b
BLAKE2b-256 27ec831a55dcb8f11df6e3042153967b58f4c550325aec1b4fe58a39a3965084

See more details on using hashes here.

Provenance

The following attestation bundles were made for ride_the_duck-1.0.31.tar.gz:

Publisher: publish-to-pypi.yml on DuckyBoi-XD/Ride-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 ride_the_duck-1.0.31-py3-none-any.whl.

File metadata

  • Download URL: ride_the_duck-1.0.31-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ride_the_duck-1.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 569d44c4adf27c87d1f7ab9b12361e86d7a3df7eb310daf5e05917108928e221
MD5 a64a60840fe35be5b57ab6cff14f65b7
BLAKE2b-256 29c18aba37e5a27177bf831286a828870849651099f807d6954a1eda7aa8cbd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ride_the_duck-1.0.31-py3-none-any.whl:

Publisher: publish-to-pypi.yml on DuckyBoi-XD/Ride-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