This commit is contained in:
Bel LaPointe
2021-03-28 13:13:17 -05:00
parent 117250f5c1
commit 9efb30ae3e
9 changed files with 269 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# after each phase, given game, evaluate if end
# after each player op, given game, evaluate if end
end:
- op: playerCount
operand: 1
@@ -12,10 +12,6 @@ phases:
operand: 5
- op: bet
- op: end
# always return an number type (or zero if not qualified) w/ high card
# ie
# two pair and a card
# king, king, 4, 4, 3 => 1000 * (13) + 10 * (4) + 3 = 1343
# TODO: inverted ranking, I think negative is enough
hands:
- royalFlush
@@ -29,5 +25,8 @@ hands:
- pair
- highCard
deck:
exclude:
aceLow: false
withoutValue:
- joker
withoutSuit:
- heart