Skip to main content

A simple single-player blackjack simulator

Project description

kblackjack

A simple single-player blackjack simulator


Installing

You can install kblackjack using Python's pip module following any of these three methods.

From PyPI

This is by far the easiest method. It just takes one command:

$ python -m pip install eqnp

From source repository (automatically)

This will clone the repository and build the package automatically.

$ python -m pip install git+https://git.kasad.com/kblackjack.git

From source repository (manually)

This does the same steps as the last method, but allows more control.

$ git clone https://git.kasad.com/kblackjack.git
$ cd kblackjack
$ python -m pip install .

Running

To run the blackjack simulator from the command line, either use the kblackjack console entry point or invoke the kblackjack package:

$ kblackjack

# or

$ python -m kblackjack

To run from within a Python script, use the kblackjack.run() function:

import kblackjack
kblackjack.run()

Contributing

Contributions can be sent in patch form to dev@kasad.com.
See git-send-email(1) or https://git-send-email.io for information on how to send patches.

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

kblackjack-0.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

kblackjack-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file kblackjack-0.1.1.tar.gz.

File metadata

  • Download URL: kblackjack-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for kblackjack-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f82a09b0f96e34cfb48e218e782774d34f7055937bee02c03e3aa207de44c048
MD5 8aef70b71cb4d2f73bf99a031723f36d
BLAKE2b-256 3a5495e511b1277f38cd4ddb5c90036f0da88d84546368fef980ce0871ea07ae

See more details on using hashes here.

File details

Details for the file kblackjack-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kblackjack-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for kblackjack-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d3aac890a7bf58f28fe225c7196a92e4ce9e3214ed2edb0d93e15760ebe71cc
MD5 8c6ccb26ba81115b6400aa531d9fb271
BLAKE2b-256 d193e9cd90cb189214ebd68defd9593e9936b8bbe3e085907ed2de53a82eaf3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page