Zombie Nom Nom
This is a game engine that is modeled after the popular board game zombie dice. This is meant for practice to be able to be messed with and explored.
Useful Links
Links to result of code coverage and pytest of latest builds.
Installation
pip install zombie_nomnom
We require at least python 3.10 to be able to run properly.
Usage
You can use the zombie_nomnom engine directly in code like this:
...
from zombie_nomnom import ZombieDieGame, DrawDice, Score
draw_three = DrawDice(3)
score_hand = Score()
game = ZombieDieGame(players=["Player One", "Player Two])
logger.info(game.round)
result = game.process_command(draw_three)
logger.info(result)
result = game.process_command(score_hand)
logger.info(result)
loger.info(game.round)
# ... keep playing game below
Or you can play it using the CLI that is already baked into the package:
> zombie-nomnom cli
Enter Player Name: Jeffery
Add Another Player? [y/N]:
Players: Jeffery (0)
Currently Playing Jeffery, Hand: Brains(0), Feet(0), Shots(0), Dice Remaining: 13
0) Exit
1) Draw dice
2) Score hand
Select Item (0-2): 1
Contribution
For details of conduct and expactations please refer to CONTRIBUTION.md
Pull requests will be pending review of at least one maintainer.
Pull requests are required to have finished the template checklist before they will be reviewed by a maintainer.
All code is formatted with the black formatter and we expect types and may run mypy to check that your code is properly typed as expected.
Names should make sense and be self descriptive of the proposed changes.
Metadata
Release files for zombie-nomnom 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zombie_nomnom-1.1.1.tar.gz | 24.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zombie_nomnom-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.7 kB
Release files / zombie_nomnom-1.1.1.tar.gz
| Download URL | zombie_nomnom-1.1.1.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27a9910772b8a65277ff114571fb85be28256d41a0f9909867af9521a10ea428
|
|
BLAKE2b-256 checksum How to use checksums |
27e59c4255d1c0df55da15001dd89d4aae871c09deaa9cccdc777c7a66d6c6de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.20
|
Release files / zombie_nomnom-1.1.1-py3-none-any.whl
| Download URL | zombie_nomnom-1.1.1-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b651590d06131d1b168197fa980621657f5184e4006f19b685063b8cae27563
|
|
BLAKE2b-256 checksum How to use checksums |
daa2a6780e011e644ab632080d8e3520698266c9c99cf989a0a2309386dede0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.20
|