feat: NCS-40 Rework Draw System #34

Merged
Janis merged 4 commits from feat/NCS-40 into main 2026-04-19 22:44:49 +02:00
Member
No description provided.
Janis added 1 commit 2026-04-19 21:41:04 +02:00
feat: NCS-40 Rework Draw System
Build & Test (NowChessSystems) TeamCity build failed
3d41bc23e5
Janis added 1 commit 2026-04-19 22:05:00 +02:00
feat: NCS-40 Rework Draw System
Build & Test (NowChessSystems) TeamCity build failed
a5beb3e1de
Janis added 1 commit 2026-04-19 22:17:17 +02:00
feat: update draw offer test to include draw decline scenario
Build & Test (NowChessSystems) TeamCity build failed
c29c1e6480
Janis added 1 commit 2026-04-19 22:18:38 +02:00
feat: update draw offer test to include draw decline scenario
Build & Test (NowChessSystems) TeamCity build finished
c26acc93c7
shosho996 approved these changes 2026-04-19 22:39:48 +02:00
@@ -140,0 +142,4 @@
/** Resign from the game. The opponent wins. */
def resign(color: Color): Unit = synchronized {
if currentContext.result.isDefined then
notifyObservers(InvalidMoveEvent(currentContext, InvalidMoveReason.GameAlreadyOver))
Owner

Good one, I can already see how ill use that for the frontend

Good one, I can already see how ill use that for the frontend
Janis merged commit 0091d50467 into main 2026-04-19 22:44:49 +02:00
Janis deleted branch feat/NCS-40 2026-04-19 22:44:49 +02:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NowChess/NowChessSystems#34