INDAPlus21 / INDAPlus21/emilhul-chess

Pass

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

Description

_I recognise the struggle, därför får du inte komplettering._

## Komplettering (egentligen inte) (som den hade sett ut)

**Superbra jobbat!!!**

I love your bit maps!

To pass this assignment you must test and implement `GameState::Check` and promotion.

My only critique is that your `Game` structure is big in memory due to all masks. Since the masks do not change in value, you're able to instead declare them as global contants, thus saving memory usage.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate GameState::Check, the promotion logic, and the existing test setup in the repository. First review how these chess rules are currently represented, then add coverage and implementation for Check and promotion. Done means the relevant tests pass and the unchanged masks are moved to global constants as requested.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.