ostrat.pCard

package ostrat.pCard

Type members

Classlikes

case class BJOpen(dollars: Int) extends BJack
case object BJResult extends Result
trait BJack
case class BlackJackGui(canv: CanvasPlatform) extends CanvasNoPanels
case class Bust(res: Int) extends Result
object Card
Companion
class
case class Card(rank: Rank, suit: Suit)
Companion
object
object Club extends Suit
abstract class Deal(dollarsIn: Int, bet: Int, playerIn: Cards, houseIn: Cards) extends BJack
object Diamond extends Suit
case class DispCard(unicode: Seq[Char], colour: Colour)
object Heart extends Suit
trait NotBust extends Result
case class OtherResult(res: Int) extends NotBust
final case class Rank(value: Int) extends AnyVal
sealed trait Result
object Spade extends Suit
sealed trait Suit

Types

type Cards = Seq[Card]