Computer Chess Club Archives


Search

Terms

Messages

Subject: coding a chessposition into a integer value

Author: Frank Sgarra

Date: 05:55:50 11/20/02



Hi,

assume there is a chess Board with 5 pieces on it.

i want to know how to write a funtcion that transforms any
position (with 5 pieces on it) into a integer value with the following
condition:

1. the range of the integer value is as small as possible

so i have to consider all symmetries , but i do not how to do it *fast*,

any help ?





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.