Skip to main content

A table game engine.

Project description

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

craps

A lightweight table game simulator built with python standard libraries.

· Report Bug · Request Feature

Getting Started

The game engine is ready to roll. Let's get rolling.

Prerequisites

This package uses libraries that have been standard since python 2.7 and it will likely run on any python version you are using. If you experience any issues, please report a bug.

Installation

Install with pip (recommended)

pip install craps

Usage

Hang tight. Examples are on the way.

(back to top)

Roadmap

  • Add Bet types to model.py
  • Strategy constructor / builder
    • Logic layer to facilitate strategy construction in a low code environment. For example:
      • IF the game puck is off AND I do not have a place bet, THEN make a place bet.
      • IF the game puck is on AND I do not have odds on a place or come bet, THEN put f(x) odds on it.

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Mike Hegarty - @mjhegarty - mike@petorca.com

Project Link: https://github.com/mhegarty/craps

Acknowledgments

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

craps-1.0.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

craps-1.0.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file craps-1.0.1.tar.gz.

File metadata

  • Download URL: craps-1.0.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for craps-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e8542775b189330dd25ddf617513ea7c5b19b3a0edc8ef4f879aa4fcc7ca014f
MD5 2f6a0d0720668a6cbc3e820f99475f2c
BLAKE2b-256 4d87e9e5518baa99343aff0a25f12f7d6bac82474f743596c29838713774255a

See more details on using hashes here.

File details

Details for the file craps-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: craps-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for craps-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 983603ce9649fb8dd3ab65fd4aa0dc04088374ff4d31d463ec8d4159b61e1716
MD5 b0be0330472a8322652f7a520fc68b3a
BLAKE2b-256 003a78d0a0c71ca70f1a46fe139a7638d548cc8c926475df6cb11469a686aa68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page