Skip to content

Allow pawn to upgrade to other pieces #16

@jacobgardner

Description

@jacobgardner

A pawn when hitting the end of the board, may choose to promote to any piece (excluding king and pawn). So technically this move should create a board for each of these other pieces.

I think it would be useless to generate a rook or bishop over a queen, but a knight may be useful, so our move generator should create 2 boards for each promotion (1 queen and 1 knight)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:Move GenAnything dealing with raw chess move generationbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions