| |
BGonline.org Forums
Rollout
Posted By: Maik Stiebler In Response To: Rollout (Stick)
Date: Sunday, 21 December 2008, at 1:45 p.m.
What this does illustrate is how hard it will be to tackle 4th or 5th roll positions without sometimes duplicating rollouts unknowingly.
Not that hard... You'll have to have a kind of dictionary ("hash table" is the technical term, I guess, and incidentally it is well known in chess programming.) Once you have rolled out a position, you make a new entry for it, using some unique position key (i.e. the gnubg PosId). Before you start a rollout of a position, try to look it up in the dictionary.
| |
BGonline.org Forums is maintained by Stick with WebBBS 5.12.