diff options
-rw-r--r-- | sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt index 8cdda393..931360d6 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt @@ -182,6 +182,6 @@ class Game internal constructor( */ fun computeScore(): ScoreBoard = ScoreBoard(table.boards.map { it.computeScore(players[it.playerIndex]) }) - private class MissingPreparedMoveException internal constructor(playerIndex: Int) : + private class MissingPreparedMoveException(playerIndex: Int) : IllegalStateException("Player $playerIndex has not prepared his move") } |