axle
.
game
poker
package
poker
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
poker
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
Call
()
extends
PokerMove
with
Product
with
Serializable
case class
Deal
()
extends
PokerMove
with
Product
with
Serializable
case class
Flop
()
extends
PokerMove
with
Product
with
Serializable
case class
Fold
()
extends
PokerMove
with
Product
with
Serializable
case class
MoveParser
()
extends
RegexParsers
with
Product
with
Serializable
case class
Payout
()
extends
PokerMove
with
Product
with
Serializable
case class
Poker
(
playersStrategiesDisplayers:
IndexedSeq
[(
Player
, (
Poker
,
PokerStateMasked
) ⇒
Distribution0
[
PokerMove
,
Rational
], (
String
) ⇒
Unit
)]
,
dealerDisplayer: (
String
) ⇒
Unit
)
(
implicit
evGame:
Game
[
Poker
,
PokerState
,
PokerOutcome
,
PokerMove
,
PokerStateMasked
,
PokerMove
]
)
extends
Product
with
Serializable
case class
PokerHand
(
cards:
IndexedSeq
[
Card
]
)
extends
Product
with
Serializable
sealed
trait
PokerHandCategory
extends
AnyRef
trait
PokerMove
extends
AnyRef
case class
PokerOutcome
(
winner:
Option
[
Player
]
,
hand:
Option
[
PokerHand
]
)
extends
Product
with
Serializable
case class
PokerState
(
moverFn: (
PokerState
) ⇒
Option
[
Player
]
,
deck:
Deck
,
shared:
IndexedSeq
[
Card
]
,
numShown:
Int
,
hands:
Map
[
Player
,
Seq
[
Card
]]
,
pot:
Int
,
currentBet:
Int
,
stillIn:
Set
[
Player
]
,
inFors:
Map
[
Player
,
Int
]
,
piles:
Map
[
Player
,
Int
]
,
_outcome:
Option
[
PokerOutcome
]
)
extends
Product
with
Serializable
case class
PokerStateMasked
(
mover:
Option
[
Player
]
,
shownShared:
IndexedSeq
[
Card
]
,
hands:
Map
[
Player
,
Seq
[
Card
]]
,
pot:
Int
,
currentBet:
Int
,
stillIn:
Set
[
Player
]
,
inFors:
Map
[
Player
,
Int
]
,
piles:
Map
[
Player
,
Int
]
)
extends
Product
with
Serializable
case class
Raise
(
amount:
Int
)
extends
PokerMove
with
Product
with
Serializable
case class
River
()
extends
PokerMove
with
Product
with
Serializable
case class
Turn
()
extends
PokerMove
with
Product
with
Serializable
Value Members
object
Flush
extends
PokerHandCategory
object
FourOfAKind
extends
PokerHandCategory
object
FullHouse
extends
PokerHandCategory
object
High
extends
PokerHandCategory
object
Pair
extends
PokerHandCategory
object
PokerHand
extends
Serializable
object
PokerHandCategory
object
RoyalFlush
extends
PokerHandCategory
object
Straight
extends
PokerHandCategory
object
StraightFlush
extends
PokerHandCategory
object
ThreeOfAKind
extends
PokerHandCategory
object
TwoPair
extends
PokerHandCategory
implicit
val
evGame
:
Game
[
Poker
,
PokerState
,
PokerOutcome
,
PokerMove
,
PokerStateMasked
,
PokerMove
]
implicit
val
evGameIO
:
GameIO
[
Poker
,
PokerOutcome
,
PokerMove
,
PokerStateMasked
,
PokerMove
]
lazy val
moveParser
:
MoveParser
Inherited from
AnyRef
Inherited from
Any
Ungrouped