-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HandEnding.faan and .base_points
game.py: + HandEnding.faan simply sums Wu.faan and Player.bonus_faan + HandEnding.points computes the actual points resulting from the faan, as changes to current points of each player + game.STOCK_TABLES are stock faan->base-point mappings that come with the library; you are free to provide your own in an argument to HandEnding.base_points melds.py: + WuFlag.(bonus flags) * Moved constants because it makes sense players.py: * Player.bonus_faan now returns the flags regarding bonuses too __main__.py: + Since running Hands standalone is supported now, do so by default. Run a full game with --game cmdarg + Show point deltas as well as faan and flags
- Loading branch information
1 parent
f6b95a0
commit d8b82b5
Showing
4 changed files
with
157 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters