celeroncoder / celeroncoder/Chess

Add `pawn promotion`.

オープン
#31 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Implement **Pawn Promotion**.

> **What is Pawn Promotion?**
> Promotion in chess is a rule that requires a pawn that reaches the eighth rank to be replaced by the player's choice of a bishop, knight, rook, or queen of the same color. The piece chosen cannot be another king nor another pawn. The new piece replaces the pawn on its starting square on the same move. The choice of the new piece is not limited to pieces previously captured, thus promotion can result in a player owning, for example, two or more queens despite starting the game with one. Know more from the wikipedia entry [here](https://en.wikipedia.org/wiki/Promotion_(chess)).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、Javaチェスエンジンのポーンの指し手処理と、駒および盤面のマスの表現を特定します。ポーンが8段目に到達したときのプロモーションを実装し、同じ色のビショップ、ナイト、ルーク、またはクイーンをサポートして、その指し手の間にポーンが置き換えられることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
game-dev
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。