Skip to content

Add king capture check in Position #23

Description

@jacklee1792

This is needed to generate legal moves from pseudo-legal ones. To check if a move is legal, we make the move and check if the opponent immediately has a move that captures our king

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions