Author: Vincent Diepeveen
Date: 15:31:24 03/05/04
Go up one level in this thread
On March 05, 2004 at 16:33:36, Volker Böhm wrote: Did you checkout my source code regarding this? I published my move generator. Perhaps i can forward it to you. diep@xs4all.nl is my email. >Hi, > >I am currently redesigning my board representation. In Move Generation I´ll >write something like > >for every pawn > generate & weight & store it´s moves > >to get every pawn I don´t whant to walk through the board. Currently I am >storing piece lists for every kind of piece. But this makes the do und undo move >a little too costy as I have to search through the piece list to find the right >one. If for example I hit a piece I have to scan through the piece list, remove >the piece and fill the hole from the end. > >I´am thinking about storing the piece-list-index in the board to find the right >position of the piece in the piece-list quickly. That could get a little >speed-up. >But I haven´t a good idea to keep the order of the piece list identical if I >do/undo a hit move. > >What are you for example doing to get every pawn in move generation? > >Thanks Volker
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.