Skip to main content

A small blackjack game.

Project description

Blackjack

Usage

Perform the equivalent of the below line; pipenv install --python 3.7 x10-blackjack (Tip: can also replace pipenv install --python 3.7 with just pip).

And then, from within the same (hopefully virtual) environment you've now installed x10-blackjack into, execute with something equivalent to; pipenv run blackjack

If you instead want to install via Git

Ensure you've got python3.7 and pipenv available on $PATH.

Developer Usage

Automatic pipeline

This repository has a pipeline triggering on any and all commits pushed. (Also merge-requests created).

So, if pipeline passes okay, then all is good. Read on for further details on how to set-up dev-environment locally/manually.

Requirements

  1. pipenv available through PATH (e.g. installed through pipsi so as to contain it to USER PATH env).
  2. python3.7

Docker

Execute the equivalent of the Makefiles make docker (and thus nothing besides docker is required on developer machine).

Installation steps

  1. git clone <clone url>
  2. cd <into cloned repo folder root>
  3. make install

Development iteration steps

  1. <modify code>
  2. make check_all (or make check_quick if you don't want to run slower integration tests).
  3. make run
  4. <feature/change specific test(s)> Repeat any steps (or sequence of them) as needed until make check_all passes before pushing to master branch (ideally...).

Upload to PyPI manually

  1. First create package; make package
  2. Then upload pipenv run twine upload dist/* Note: The command in list-item #2 relies on the variables TWINE_USERNAME="__token__" and TWINE_PASSWORD=<token string> having been set.

Upload to PyPI automatically (read: with (GitLab) pipeline)

Push a git tag where the name of the tag is a semantic version (<major>.<minor>.<patch>).

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

x10-blackjack-1.1.4.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

x10_blackjack-1.1.4-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file x10-blackjack-1.1.4.tar.gz.

File metadata

  • Download URL: x10-blackjack-1.1.4.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for x10-blackjack-1.1.4.tar.gz
Algorithm Hash digest
SHA256 ce0021ae1bd6681c6b0f1f2f06363c75eaec38cf89fe524875994710615cb3ac
MD5 1130ec9192bc847dec2e9a1e0eb25712
BLAKE2b-256 90310d7e41907b8996f9485cc5fa47ef4dd2db2212261ecb7ef71ff20b734f2b

See more details on using hashes here.

File details

Details for the file x10_blackjack-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: x10_blackjack-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for x10_blackjack-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b5520c017dc2a54912df75d4d136f44853e43bf20c1f33f98f9bc0fae474c1d4
MD5 9fcc9a6a3dcba76ea7b8d8126a965733
BLAKE2b-256 e08013bf7df1612821d9c1892fd0934417e0b504d84ff64c2e44ca66f53da17c

See more details on using hashes here.

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