forked from OpenSettlers/OpenSettlers
-
Notifications
You must be signed in to change notification settings - Fork 0
Game phases
generateui edited this page Nov 14, 2010
·
5 revisions
Several phases exist within OpenSettlers. The main phase is GamePhase. This phase defines the current state of the game. Several GamePhases exist:
- Lobby
- Game waits for nough players to join the game
- DetermineFirstPlayer
- Dices are rolled by each player, highroller starts. When multiple highrollers are present, all highrollers roll again untill there is a single highroller.
- The highroller (game starter) places the first port, places the first town, and starts with the first turn.
- PlacePorts
- Only when the map requires players to place ports, this phase is executed.
- Highroller places the first port, player after him second, et cetera.
- InitialPlacement
- Every player places a town & road, and then another town & road.
- Optionally, if Tournament Starting Rules is selected in game options, the second town is a city, and a third road is placed.
- PlayTurns
- Each player plays a turn, which in itself has 4 phases:
- BeforeRollDice (soldier & victory point development card, claim victory)
- RollDice
- Trading
- Build
- Each player plays a turn, which in itself has 4 phases:
- Ended
This listing shows the allowed turns within each GamePhase and TurnPhase:
- Lobby
- Chat (GameAction)
- GameOptionsChanged (LobbyAction)
- EnterLobby (LobbyAction)
- GameCreated (LobbyAction)
- GameJoined (LobbyAction)
- JoinGame (LobbyAction)
- StartGame (LobbyAction)
- UserLeft (LobbyAction)
- UserLeftGame (LobbyAction)
- UserDisconnected (LobbyAction)
- DetermineFirstPlayer
- RollDice (TurnAction)
- RolledSame (TurnAction)
- PlacePorts
- PlacePort (TurnAction)
- InitialPlacement
- BuildTown
- BuildRoad
- BuildShip
- BuildCity
- DiscoverHex
- PlayTurns
- Actions allowed in this phase are determined by the current TurnPhase:
- BeforeRollDice
- PlayDevelopmentCard (Soldier/Victory point)
- ClaimVictory
- PlaceRobberPirate
- RobPlayer
- LargestArmyChanged
- RollDice
- RobPlayer
- PlaceRobberPirate
- LooseCards
- PickGold
- RollVolcanoDice
- LongestRouteChanged
- LargestArmyChanged
- RollDice
- Trading
- TradeOffer
- EndTrade
- TradePlayer
- AcceptOffer
- CounterOffer
- RejectOffer
- Building
- ClaimVictory
- BuildTown
- BuildCity
- BuildRoad
- BuildShip
- MoveShip
- BuyDevcard
- PlayDevcard
- PlaceRobber
- RobPlayer
- EndTurn
- LongestRouteChanged
- LargestArmyChanged
- TradeRoutesChanged
- SwapChit
- DiscoverChit
- DiscoverHex
- TradeBank
- BeforeRollDice
- Actions allowed in this phase are determined by the current TurnPhase:
- Ended
Valid in all game/turnphases:
- Chat