Author: Volker Böhm
Date: 13:33:36 03/05/04
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.01 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.