Skip to main content

Blackjack but with ducks. And for some reason, a complex ATM system

Project description

BlackDuck

BlackDuck is a game commonly known as blackjack. I switched all the jacks with ducks (text) and added the most common actions, hitting, standing, doubling down and spliting. The game is made using Python and main game in inclosed in a menu where you can see information, change settings and regroup youer money.

You can play this on your terminal/command prompt that has python 3 and pip installed. You can install the game following the 'How to play BlackDuck'

Features

  • Blackjack - A great gambling game
  • Advanced Blackjack features - Double down, split
  • Scoring based system - Scores score based of how much money won
  • ATM system - When running out of money you can go to the atm and withdraw money
  • Settings function - Changable options for your preference
  • Information section - A space for understand and learn about the game and how to play
  • Typewriter - All text is printed out as a typewriter effect

How to play BlackDuck

  1. Go to https://pypi.org/project/blackduck-game/

  2. once at PyPi, copy the package installation or "pip install blackduck-game"

  3. Open Terminal or Command Prompt with python and pip installed. You can check this by using:

    python --version
    

    or

    python3 --version
    

    and

    pip3 --version
    

    or

    pip --version
    
  4. Use one of the commands (depending on OS and python type)

    pip install blackduck-game
    
    pip3 install blackduck-game
    
    pipx install blackduck-game
    
    python3 -m pip install blackduck-game
    
  5. Use the command blackduck to play the game

  6. Start playing and have fun gambling

Credit

@QinCai: For helping with the typing function and part of the PyPi packaging process

AI: For creating the split function, helping me understand how some parts of code works, creating code for the PyPi package and creating the replacement for getch.

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

blackduck_game-0.3.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

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

blackduck_game-0.3.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file blackduck_game-0.3.0.tar.gz.

File metadata

  • Download URL: blackduck_game-0.3.0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blackduck_game-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c08c9f2bfcba2ad58c9354dcb2afbda56503507832f976b6b8618b0466bfee55
MD5 ea02cf8c38f0ec63b567593b8dc722f6
BLAKE2b-256 34c535574ddb10d6635ed9f1cab1f99a260e1edf7d0cf05333ad9d91c9812bee

See more details on using hashes here.

Provenance

The following attestation bundles were made for blackduck_game-0.3.0.tar.gz:

Publisher: publish-pypi.yml on DuckyBoi-XD/BlackDuck-Python

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

File details

Details for the file blackduck_game-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: blackduck_game-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for blackduck_game-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92eb89389fb5e6277f889e628fd9f71d39c6bc9eb6fabdf614cbc40332ae7d21
MD5 60828ea2fbe79fea82798e3684463fe9
BLAKE2b-256 86adb910f48fa38fe223b33c5efd2caee42efc9322b5d3115a787a0d46dca7df

See more details on using hashes here.

Provenance

The following attestation bundles were made for blackduck_game-0.3.0-py3-none-any.whl:

Publisher: publish-pypi.yml on DuckyBoi-XD/BlackDuck-Python

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