This second generator, based on the same die-rolling technique used by people to generate a chess960 position, was more sophisticated than the generator I had studied for the first cut. I adapted it to my needs, used my driver to verify its accuracy, and updated my page of Chess960 [Fischer Random Chess] Start Positions to use the adaptation. At the same time I incorporated a comment made to Another Generator to improve the presentation of my generator.
While doing the above, I realized that the IF/THEN table technique used to convert between SPs and their corresponding numbers ('If ID=SP000 then SP=BBQNNRKR' or vice versa) could be replaced by the method described in Calculate SP Numbers in Your Head. I'll do that in another programming project.
Post a Comment