Files
cards/games/poker.yaml
Bel LaPointe 9efb30ae3e in prog
2021-03-28 13:13:17 -05:00

33 lines
451 B
YAML

# after each player op, given game, evaluate if end
end:
- op: playerCount
operand: 1
phases:
- op: charge
operand: 5
- op: deal
operand: 5
- op: bet
- op: trade
operand: 5
- op: bet
- op: end
# TODO: inverted ranking, I think negative is enough
hands:
- royalFlush
- straightFlush
- fourOfAKind
- fullHouse
- flush
- straight
- threeOfAKind
- twoPair
- pair
- highCard
deck:
aceLow: false
withoutValue:
- joker
withoutSuit:
- heart