Hello.
I would start making a engine, and i have readed in CPW that the first thing to do is making a board representation.
I understand the basics of bitboards, but i dont know where to start.
Is there anyone with a example, tutorial, link etc. out there ?
Ethanara
Bitboard
Moderators: hgm, Rebel, chrisw
-
- Posts: 216
- Joined: Thu Mar 09, 2006 9:54 pm
Re: Bitboard
Check out this link: http://www.talkchess.com/forum/viewtopic.php?t=38787ethanara wrote:Hello.
I would start making a engine, and i have readed in CPW that the first thing to do is making a board representation.
I understand the basics of bitboards, but i dont know where to start.
Is there anyone with a example, tutorial, link etc. out there ?
Ethanara
-
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Bitboard
Also go to my web page at UAB, (www.cis.uab.edu, then follow the path to faculty) and on my personal web page, there's a "board representation" write-up (pretty long, unfortunately) that describes everything but magic (which I need to add as an update)...Mark wrote:Check out this link: http://www.talkchess.com/forum/viewtopic.php?t=38787ethanara wrote:Hello.
I would start making a engine, and i have readed in CPW that the first thing to do is making a board representation.
I understand the basics of bitboards, but i dont know where to start.
Is there anyone with a example, tutorial, link etc. out there ?
Ethanara
-
- Posts: 134
- Joined: Mon May 16, 2011 6:58 pm
- Location: Denmark
Re: Bitboard
Thanks for the links.
I havent yet started making a magic bitboard, and i will not copy because of it is not my code, then i have a bit harder to understand it and to work with it.
Arent there a sample or something?
I havent yet started making a magic bitboard, and i will not copy because of it is not my code, then i have a bit harder to understand it and to work with it.
Arent there a sample or something?
-
- Posts: 670
- Joined: Mon Dec 03, 2007 3:01 pm
- Location: Barcelona, Spain
Re: Bitboard
Pradu Kannan kindly left his code Open Source and it is widly used.ethanara wrote:Arent there a sample or something?
http://www.pradu.us/old/Nov27_2008/Buzz/
http://www.pradu.us/old/Nov27_2008/Buzz ... cmoves.zip