feat: NCS-14 implemented insufficient moves rule #30

Merged
Janis merged 4 commits from feat/NCS-14 into main 2026-04-14 21:17:56 +02:00
Showing only changes of commit 10c6b1c4cd - Show all commits
@@ -0,0 +1,8 @@
package de.nowchess.api.game
import de.nowchess.api.board.Color
/** Outcome of a finished game. */
enum GameResult:
case Win(color: Color)
case Draw(reason: DrawReason)