class BG::MatchState Keeps match score and related information.
Public members:
- bool set(uint xAway, uint oAway, uint cube, bool xOwns, int crawford)
Set match score. - bool cubeDead(void) const
Cube dead for this setup? - bool cubeDead(bool xPlayer) const
Cube dead for player?
- uint xAway
X away in match.
- uint oAway
O away in match.
- uint cube
Current cube. - bool xOwns
True when X owns cube.
- bool crawfordGame
True when CRAWFORD game. - float mwc(CubelessProbs p, bool xOnPlay) const
Turn cubeless probabilities to match equity using market window.