model.entities.games.GameBuilder
Factory object for creating game instances with default configurations.
Provides convenient methods to create games with auto-generated IDs and appropriate default settings for player capacity and initial state.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates a new blackjack game at the specified position.
Creates a new blackjack game at the specified position.
Initializes with capacity for 7 players and empty history.
Value parameters
-
position
-
the 2D coordinates for the game
Attributes
-
Returns
-
a new BlackJackGame instance
Creates a new roulette game at the specified position.
Creates a new roulette game at the specified position.
Initializes with capacity for 6 players and empty history.
Value parameters
-
position
-
the 2D coordinates for the game
Attributes
-
Returns
-
a new RouletteGame instance
Creates a new slot machine game at the specified position.
Creates a new slot machine game at the specified position.
Initializes with capacity for 1 player and empty history.
Value parameters
-
position
-
the 2D coordinates for the game
Attributes
-
Returns
-
a new SlotMachineGame instance