Skip to content

Commit

Permalink
Merge pull request #283 from chesslablab/issue/281-Make-the-server-re…
Browse files Browse the repository at this point in the history
…spond-with-the-dead-position-draw-rule-value

Responded with the dead position draw rule value
  • Loading branch information
programarivm committed May 22, 2024
2 parents bf645f6 + 35e930d commit 3cbfdb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Game/Game.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public function state(): object
'isStalemate' => $this->board->isStalemate(),
'isFivefoldRepetition' => $this->board->isFivefoldRepetition(),
'isFiftyMoveDraw' => $this->board->isFiftyMoveDraw(),
'isDeadPositionDraw' => $this->board->isDeadPositionDraw(),
'mode' => $this->getMode(),
];
}
Expand Down

0 comments on commit 3cbfdb4

Please sign in to comment.