Name | zombie-nomnom JSON |
Version |
1.1.1
JSON |
| download |
home_page | None |
Summary | A Zombie Dice Game Engine Library and Executable |
upload_time | 2024-12-04 18:37:35 |
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/27/e5/9c4255d1c0df55da15001dd89d4aae871c09deaa9cccdc777c7a66d6c6de/zombie_nomnom-1.1.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.1.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": "daa2a6780e011e644ab632080d8e3520698266c9c99cf989a0a2309386dede0e",
"md5": "6f8df85da00f9ef40ce759521d88ee95",
"sha256": "2b651590d06131d1b168197fa980621657f5184e4006f19b685063b8cae27563"
},
"downloads": -1,
"filename": "zombie_nomnom-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6f8df85da00f9ef40ce759521d88ee95",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 21598,
"upload_time": "2024-12-04T18:37:34",
"upload_time_iso_8601": "2024-12-04T18:37:34.495594Z",
"url": "https://files.pythonhosted.org/packages/da/a2/a6780e011e644ab632080d8e3520698266c9c99cf989a0a2309386dede0e/zombie_nomnom-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "27e59c4255d1c0df55da15001dd89d4aae871c09deaa9cccdc777c7a66d6c6de",
"md5": "f1cb5c7af5c2c1f951c724956b5fb4a8",
"sha256": "27a9910772b8a65277ff114571fb85be28256d41a0f9909867af9521a10ea428"
},
"downloads": -1,
"filename": "zombie_nomnom-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "f1cb5c7af5c2c1f951c724956b5fb4a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 24068,
"upload_time": "2024-12-04T18:37:35",
"upload_time_iso_8601": "2024-12-04T18:37:35.747406Z",
"url": "https://files.pythonhosted.org/packages/27/e5/9c4255d1c0df55da15001dd89d4aae871c09deaa9cccdc777c7a66d6c6de/zombie_nomnom-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-04 18:37:35",
"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"
}