Git Product home page Git Product logo

craps-dice-control's Introduction

Craps Dice Control

Master Master branch build status

Handful of tools to help one figure out if they really can control the dice


Copyright 2019 Matt Traudt All Rights Reserved

You have no right to this software unless you are listed below or we have successfully negotiated a license.

  • GitHub may host this code, but not run or modify it
  • Travis CI may run the tests against the code, but not modify it

craps-dice-control's People

Contributors

pastly avatar

Watchers

 avatar

craps-dice-control's Issues

Add point to RollEvent args

Because when there's a "lost the point" RollEvent, we have no idea by just looking at this single event what the point value was that we just lost.

Tests for TailOp and LenOp

  • What happens when empty
  • What happens when getting single item
  • What order multiple items are returned in
  • What happens when wanting more items than the list contains

Add tests for math operators actually doing math correctly

As it is now, right now the actual math happens in simulate.py, which is a little weird for testing. It's there because the BinOp may have a left or right side that is more complex than a simple int or float or list, and needs to turn VarIds and ListIds to their actual values.

What would probably be more correct would be to move UserDefinedStrategy._reduct_binop's logic to BinOp in stratlang.py and pass the function all the strategy state it would ever need.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.