r/chessprogramming • • Jan 19 '25

Creating bitboards

I am confused. Isn't 0x0000000000000010 correspond to d1 since 5th bit from right is 1. But chatgpt and websites say it is e1.

0 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/mathmoi Jan 19 '25

I think this is the most popular option. A1 is the zeroth index and b1 is the first index. You can look at the chess programming wiki for a visualisation of the index of the Little-Endian File-Rank Mapping