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.
Release files for pyohhell 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyohhell-0.1.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyohhell-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:19.9 kB
Release files / pyohhell-0.1.0.tar.gz
| Download URL | pyohhell-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee8d057c48db9ae25d3c682f84224c9c2da157ebb93a569992a070024ab94127
|
|
BLAKE2b-256 checksum How to use checksums |
64a5acedb98cf17492b6a0ed7b6451baa5495ee1de1982cf1d9b61ad0934e8b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/21.3.0
|
Release files / pyohhell-0.1.0-py3-none-any.whl
| Download URL | pyohhell-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f114a04e3ed2c17a6482daf8f0f480a555788c4a12f65f3a3279c4a1bb2e3f1d
|
|
BLAKE2b-256 checksum How to use checksums |
7f248cb890e2590e81473e975317a92aa98c05665e32ab57e950484daa85968c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/21.3.0
|