summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-28 17:39:25 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-28 17:39:25 +0100
commit5b480b1ce2d5d71231e635776614cece5e9667c1 (patch)
treeb435f5302df52e4febaabdfc6f68c29a061cff59
parentAdd log to detect end of game saga (diff)
downloadseven-wonders-5b480b1ce2d5d71231e635776614cece5e9667c1.tar.gz
seven-wonders-5b480b1ce2d5d71231e635776614cece5e9667c1.tar.bz2
seven-wonders-5b480b1ce2d5d71231e635776614cece5e9667c1.zip
Cleanup
-rw-r--r--sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt2
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")
}
bgstack15