Loethor / Loethor/ruce

Implement promotion I

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

movement generation
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When a pawn reached its last rank (8 for white pawns, 1 for black pawns) it can transform to any other piece (except for a king).

Implement a naive mechanism to promote a pawn automatically to a queen.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Locate the pawn move-handling entry point and trace what happens when a white pawn reaches rank 8 or a black pawn reaches rank 1. Done means the pawn is automatically replaced by a queen on the last rank, without promoting to a king.

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.