Name | zombie-nomnom JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | A Zombie Dice Game Engine Library and Executable |
upload_time | 2024-11-16 07:49:42 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
game
engine
dice
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
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.
[![Test and Deploy Docs](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/actions/workflows/deploy-docs.yaml/badge.svg)](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/actions/workflows/deploy-docs.yaml)
Useful Links
---
Links to result of code coverage and pytest of latest builds.
* [Coverage Report](https://consulting.gxldcptrick.dev/zombie_nomnom/coverage/)
* [Latest Test Run](https://consulting.gxldcptrick.dev/zombie_nomnom/coverage/report.html)
* [Documentation](https://consulting.gxldcptrick.dev/zombie_nomnom/)
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:
```python
...
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:
```bash
> 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](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/blob/main/CONTRIBUTING.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.
Raw data
{
"_id": null,
"home_page": null,
"name": "zombie-nomnom",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "game, engine, dice",
"author": null,
"author_email": "Andres Carrera <andreshcar@live.com>",
"download_url": "https://files.pythonhosted.org/packages/36/88/45364427eeb0daa2477fc14079be980ce81fe7965aac7b52231d37b12787/zombie_nomnom-1.0.1.tar.gz",
"platform": null,
"description": "Zombie Nom Nom\n===\n\nThis 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.\n\n[![Test and Deploy Docs](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/actions/workflows/deploy-docs.yaml/badge.svg)](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/actions/workflows/deploy-docs.yaml)\n\nUseful Links\n---\n\nLinks to result of code coverage and pytest of latest builds.\n\n* [Coverage Report](https://consulting.gxldcptrick.dev/zombie_nomnom/coverage/)\n* [Latest Test Run](https://consulting.gxldcptrick.dev/zombie_nomnom/coverage/report.html)\n* [Documentation](https://consulting.gxldcptrick.dev/zombie_nomnom/)\n\nInstallation\n---\n\n`pip install zombie_nomnom`\n\n\nWe require at least python 3.10 to be able to run properly.\n\n\nUsage\n---\n\nYou can use the zombie_nomnom engine directly in code like this:\n\n```python\n...\nfrom zombie_nomnom import ZombieDieGame, DrawDice, Score\n\ndraw_three = DrawDice(3)\nscore_hand = Score()\ngame = ZombieDieGame(players=[\"Player One\", \"Player Two])\n\nlogger.info(game.round)\n\nresult = game.process_command(draw_three)\nlogger.info(result)\n\nresult = game.process_command(score_hand)\nlogger.info(result)\n\nloger.info(game.round)\n# ... keep playing game below\n```\n\nOr you can play it using the CLI that is already baked into the package:\n\n```bash\n> zombie-nomnom cli\nEnter Player Name: Jeffery\nAdd Another Player? [y/N]: \nPlayers: Jeffery (0)\nCurrently Playing Jeffery, Hand: Brains(0), Feet(0), Shots(0), Dice Remaining: 13\n0) Exit\n1) Draw dice\n2) Score hand\nSelect Item (0-2): 1\n```\n\nContribution\n---\n\nFor details of conduct and expactations please refer to [CONTRIBUTION.md](https://github.com/Carrera-Dev-Consulting/zombie_nomnom/blob/main/CONTRIBUTING.md)\n\nPull requests will be pending review of at least one maintainer.\n\nPull requests are required to have finished the template checklist before they will be reviewed by a maintainer. \n\nAll 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.\n\nNames should make sense and be self descriptive of the proposed changes.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Zombie Dice Game Engine Library and Executable",
"version": "1.0.1",
"project_urls": {
"Changelog": "https://github.com/carrera-dev-consulting/zombie_nomnom/releases",
"Documentation": "https://consulting.gxldcptrick.dev/zombie_nomnom/docs",
"Homepage": "https://github.com/carrera-dev-consulting/zombie_nomnom",
"Issues": "https://github.com/carrera-dev-consulting/zombie_nomnom/issues",
"Repository": "https://github.com/carrera-dev-consulting/zombie_nomnom"
},
"split_keywords": [
"game",
" engine",
" dice"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ecba360ce9ad25cc3d3ba3d2aeaa6c143e3376b84a430dfa0940f03fab97d77e",
"md5": "bcf90bbf4a90ec31c865f990864cf1fb",
"sha256": "c516e8285572601314be9ffe2e82496d114d5bca01d6f2697721b3a4db3a2041"
},
"downloads": -1,
"filename": "zombie_nomnom-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bcf90bbf4a90ec31c865f990864cf1fb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 17121,
"upload_time": "2024-11-16T07:49:40",
"upload_time_iso_8601": "2024-11-16T07:49:40.979393Z",
"url": "https://files.pythonhosted.org/packages/ec/ba/360ce9ad25cc3d3ba3d2aeaa6c143e3376b84a430dfa0940f03fab97d77e/zombie_nomnom-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "368845364427eeb0daa2477fc14079be980ce81fe7965aac7b52231d37b12787",
"md5": "4034d62186bfa07b9a3c08887fde4c84",
"sha256": "988eab831b0421bc9c202c1ad3c3ddfc95431caaec16fb93ab1e2351ba5cd27d"
},
"downloads": -1,
"filename": "zombie_nomnom-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "4034d62186bfa07b9a3c08887fde4c84",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 19994,
"upload_time": "2024-11-16T07:49:42",
"upload_time_iso_8601": "2024-11-16T07:49:42.567480Z",
"url": "https://files.pythonhosted.org/packages/36/88/45364427eeb0daa2477fc14079be980ce81fe7965aac7b52231d37b12787/zombie_nomnom-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-16 07:49:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "carrera-dev-consulting",
"github_project": "zombie_nomnom",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "zombie-nomnom"
}