Skip to content

Commit 1da07f2

Browse files
Update Game.kt
1 parent d5369d5 commit 1da07f2

File tree

1 file changed

+0
-6
lines changed
  • lib/chesskt/src/commonMain/kotlin/com/krossovochkin/chesskt

1 file changed

+0
-6
lines changed

lib/chesskt/src/commonMain/kotlin/com/krossovochkin/chesskt/Game.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ class Game private constructor(
8585
move = move,
8686
color = currentColor,
8787
)
88-
.also {
89-
when (it) {
90-
is MoveResult.Success -> println("${it.move}")
91-
is MoveResult.Error -> println("Failure: $move, reason=${it.reason}")
92-
}
93-
}
9488
.let { it is MoveResult.Success }
9589
.also {
9690
if (it) {

0 commit comments

Comments
 (0)