Loethor / Loethor/ruce

Implement castling II

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
movement generation
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Complete the castling with extra rules:

- Castling can't be executed if the king is in check
- Castling can't be executed if the square in between current and target position would be a check
- Castling can't be executed if the king would move to a square in check

This issue requires the issues #9 and #10 completed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review issues #9 and #10 first, since this work depends on both being complete. Trace the existing castling implementation and verify that castling is rejected when the king starts in check, crosses a checked square, or lands in check; done means all three rules are enforced.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.