Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect the draw rules of chess #24

Open
LabinatorSolutions opened this issue May 28, 2024 · 0 comments
Open

Detect the draw rules of chess #24

LabinatorSolutions opened this issue May 28, 2024 · 0 comments
Labels
design Design and UI related improvements or issues easy for beginners Easy for beginners enhancement New feature or request feature New feature to add good first issue Good for newcomers hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed up-for-grabs Good for new contributors - https://up-for-grabs.net/

Comments

@LabinatorSolutions
Copy link
Owner

Currently, the app does not check for draw rules such as insufficient material, threefold repetition, and the 50-move rule without captures.

  • Insufficient Material: Neither player has enough pieces to force a checkmate (e.g., king versus king, king and bishop versus king, or king and knight versus king).
  • Threefold Repetition: The same position occurs three times with the same player to move and all possible moves available.
  • 50-Move Rule: Fifty moves have been made by each player without any pawn movement or capture.

These rules need to be incorporated into the logic and adjusted according to the existing notification and labeling system. This implementation should be done as elegantly as the checkmate detection.

@LabinatorSolutions LabinatorSolutions added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers feature New feature to add design Design and UI related improvements or issues easy for beginners Easy for beginners hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ up-for-grabs Good for new contributors - https://up-for-grabs.net/ hacktoberfest-accepted and removed hacktoberfest-accepted labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design and UI related improvements or issues easy for beginners Easy for beginners enhancement New feature or request feature New feature to add good first issue Good for newcomers hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed up-for-grabs Good for new contributors - https://up-for-grabs.net/
Projects
None yet
Development

No branches or pull requests

1 participant