33 lines
451 B
YAML
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
|