How to make movelist using bitboards

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Luis Babboni
Posts: 464
Joined: Sat Feb 28, 2015 4:37 pm
Location: Argentina

Re: How to make movelist using bitboards

Post by Luis Babboni »

emadsen wrote: Sun Feb 21, 2021 5:52 pm
Luis Babboni wrote: Sun Feb 21, 2021 3:33 pm It seems you explain me how to do, not what to do.
The title of your post is How to make movelist using bitboards.
:shock: :shock: :P :P :oops: :oops:

May be the problem is I´m not too smart! :mrgreen:

Thanks for your offer!
User avatar
Luis Babboni
Posts: 464
Joined: Sat Feb 28, 2015 4:37 pm
Location: Argentina

Re: How to make movelist using bitboards

Post by Luis Babboni »

emadsen wrote: Sun Feb 21, 2021 5:52 pm
Luis Babboni wrote: Sun Feb 21, 2021 3:33 pm It seems you explain me how to do, not what to do.
The title of your post is How to make movelist using bitboards.

OK, well hopefully the comments and code here have helped you understand the concept and possible implementations. Let us know if you get it working or get stuck. This community is helpful. Good luck!
Thanks emadsen. Still not doing too much, but I think I finished to understanding the general idea of how bitborads works at last! :D
User avatar
emadsen
Posts: 434
Joined: Thu Apr 26, 2012 1:51 am
Location: Oak Park, IL, USA
Full name: Erik Madsen

Re: How to make movelist using bitboards

Post by emadsen »

Luis Babboni wrote: Wed Mar 10, 2021 3:49 am Thanks emadsen. Still not doing too much, but I think I finished to understanding the general idea of how bitborads works at last! :D
Luis, I'm glad to hear your understanding is improving. You may wish to read the Attack table initialization with magic bitboards thread to learn more about how to generate moves using the magic bitboard technique.
My C# chess engine: https://www.madchess.net