Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Piece Promotion Popup #5

Open
3 tasks
Notdutra opened this issue Nov 12, 2024 · 0 comments
Open
3 tasks

Create Piece Promotion Popup #5

Notdutra opened this issue Nov 12, 2024 · 0 comments
Assignees

Comments

@Notdutra
Copy link
Owner

Description
Currently, pawn promotion defaults to a queen. This issue will add a popup menu allowing players to select the piece they want for promotion (queen, rook, bishop, or knight).

Acceptance Criteria

  • Popup Display: Show a popup menu when a pawn reaches the final rank, allowing the player to choose a promotion piece.
  • Piece Selection: Include options for queen, rook, bishop, and knight.
  • Promotion Logic: Update the board with the selected piece.

Tasks

  • Design the promotion selection popup.
  • Implement popup logic to appear upon pawn promotion.
  • Update pawn promotion function to place the chosen piece on the board.

Additional Notes

  • Ensure the popup appears only when a pawn reaches the promotion rank.
  • Confirm that the chosen piece is placed correctly on the board.
@Notdutra Notdutra self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant