Loethor / Loethor/ruce

Implement command pattern for doing and undoing moves

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

Description

This is needed for pins #12 and checks #10 .
You apply a move, and if the enemy would capture your king that move is unapplied and illegal.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing move-application path and the logic used to determine whether the enemy can capture the king. Read the related pins (#12) and checks (#10) issues for context; done means moves can be applied and undone, with moves leaving the king capturable rejected as illegal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.