Skip to main content

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.

Metadata

Release files for blackduck-game 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blackduck-game 0.3.0
File Size Uploaded
blackduck_game-0.3.0.tar.gz 25.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for blackduck-game 0.3.0
File Interpreter ABI Platform
blackduck_game-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.9 kB

Release files / blackduck_game-0.3.0.tar.gz

Download URL blackduck_game-0.3.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c08c9f2bfcba2ad58c9354dcb2afbda56503507832f976b6b8618b0466bfee55
BLAKE2b-256 checksum
How to use checksums
34c535574ddb10d6635ed9f1cab1f99a260e1edf7d0cf05333ad9d91c9812bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 23, 2025.

Transparency log

Release files / blackduck_game-0.3.0-py3-none-any.whl

Download URL blackduck_game-0.3.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92eb89389fb5e6277f889e628fd9f71d39c6bc9eb6fabdf614cbc40332ae7d21
BLAKE2b-256 checksum
How to use checksums
86adb910f48fa38fe223b33c5efd2caee42efc9322b5d3115a787a0d46dca7df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 23, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page