Skip to content

Conversation

@yongyi781
Copy link

Removed 7 - rank in en passant field indexing. The number in the "en passant" field in a FEN already refers to chess rank. The 7 - rank was needed in the main part of this function because rank there refers to array index in the order they appear in the FEN, where the first item of the array actually refers to rank 7 (last rank), and so on.

Removed `7 - rank` in en passant field indexing. The number in the "en passant" field in a FEN already refers to chess rank. The `7 - rank` was needed in the main part of this function because `rank` there refers to array index in the order they appear in the FEN, where the first item of the array actually refers to rank 7 (last rank), and so on.
@vercel
Copy link

vercel bot commented Nov 17, 2025

@yongyi781 is attempting to deploy a commit to the Kevin Thomas' projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

1 participant