RouletteBet
model.entities.games.RouletteBet
case class RouletteBet(amount: Double, targets: List[Int]) extends Bet
Represents a bet placed on a roulette game with specific number targets.
Roulette bets allow players to wager on one or more numbers on the wheel. All target numbers must be valid roulette numbers (0-36).
Value parameters
- amount
-
the monetary amount being wagered
- targets
-
the list of roulette numbers (0-36) being bet on
Attributes
- Throws
-
IllegalArgumentException
if any target is outside the valid range (0-36)
- Graph
-
- Supertypes
Members list
In this article