Skip to main content

A Oh Hell card game engine

Project description

pyohhell

A Oh Hell card game engine

Installation

$ pip install pyohhell

Usage

pyohhell can be used to play a Oh hell card game as follows:

from pyohhell.game_engine import GameEngine
from pyohhell.player import Player

game_engine = GameEngine()
player_1 = Player(1)
player_2 = Player(2)
game_engine.subscribe_player(player_1)
game_engine.subscribe_player(player_2)
game_engine.play_game(seed=42)

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

pyohhell was created by amaurylekens. It is licensed under the terms of the MIT license.

Credits

pyohhell was created with cookiecutter and the py-pkgs-cookiecutter template.

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

pyohhell-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

pyohhell-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pyohhell-0.1.0.tar.gz.

File metadata

  • Download URL: pyohhell-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/21.3.0

File hashes

Hashes for pyohhell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ee8d057c48db9ae25d3c682f84224c9c2da157ebb93a569992a070024ab94127
MD5 46176d70678e8afe49f0f3deeee9974a
BLAKE2b-256 64a5acedb98cf17492b6a0ed7b6451baa5495ee1de1982cf1d9b61ad0934e8b8

See more details on using hashes here.

File details

Details for the file pyohhell-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyohhell-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/21.3.0

File hashes

Hashes for pyohhell-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f114a04e3ed2c17a6482daf8f0f480a555788c4a12f65f3a3279c4a1bb2e3f1d
MD5 036e6723ec6efb0d33111084a67693fc
BLAKE2b-256 7f248cb890e2590e81473e975317a92aa98c05665e32ab57e950484daa85968c

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