summaryrefslogtreecommitdiff
path: root/sw-common-model
diff options
context:
space:
mode:
Diffstat (limited to 'sw-common-model')
-rw-r--r--sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
index 736ace86..0d02c5fd 100644
--- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
+++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/Moves.kt
@@ -5,6 +5,7 @@ import org.luxons.sevenwonders.model.cards.HandCard
import org.luxons.sevenwonders.model.cards.TableCard
import org.luxons.sevenwonders.model.resources.ResourceTransactions
import org.luxons.sevenwonders.model.resources.noTransactions
+import org.luxons.sevenwonders.model.score.ScoreBoard
import org.luxons.sevenwonders.model.wonders.WonderBuildability
enum class Action(val message: String) {
@@ -13,7 +14,8 @@ enum class Action(val message: String) {
PLAY_2("Pick the first card you want to play or discard. Note that you have the ability to play these 2 last cards. You will choose how to play the last one during your next turn."),
PLAY_LAST("You have the special ability to play your last card. Choose how you want to play it."),
PICK_NEIGHBOR_GUILD("Choose a Guild card (purple) that you want to copy from one of your neighbours."),
- WAIT("Please wait for other players to perform extra actions.")
+ WAIT("Please wait for other players to perform extra actions."),
+ WATCH_SCORE("The game is over! Look at the scoreboard to see the final ranking!")
}
@Serializable
@@ -23,7 +25,8 @@ data class PlayerTurnInfo(
val action: Action,
val hand: List<HandCard>?,
val preparedMove: PlayedMove?,
- val neighbourGuildCards: List<TableCard>
+ val neighbourGuildCards: List<TableCard>,
+ val scoreBoard: ScoreBoard? = null
) {
val currentAge: Int = table.currentAge
val message: String = action.message
bgstack15