All Downloads are FREE. Search and download functionalities are using the official Maven repository.

classes.PokerHandCategorization.scala Maven / Gradle / Ivy

Go to download

Scala library for card-playing functionality, including games Blackjack and Thirty-One

The newest version!
package cards.classes

import play.api.libs.json.{ Json, Format }

object PokerHandCategorization extends Enumeration {
  type PokerHandCategorization = Value
  val HighCard, OnePair, TwoPair, ThreeOfAKind, Straight, Flush, FullHouse, FourOfAKind, StraightFlush, RoyalFlush = Value

  implicit val format: Format[PokerHandCategorization] = Json.formatEnum(this)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy