Author: Tony Werten
Date: 02:57:16 08/06/01
Go up one level in this thread
On August 06, 2001 at 04:12:25, Adrian Smith wrote:
>Hey all!
>
>I am having trouble working out how to represent moves (e2e4 etc)..
>As my programming experience isn't much yet, i decided to go with the 64 byte
>array as my board. Could anyone help me establish how to represent the moves in
>that format?
Depending on the programming language it should be something like:
('a'+(from and 7))+('1'+(from shr 3))+('a'+(to and 7))+('1'+(to shr 3))
cheers,
Tony
>
>Thanks
>
>
> - Adrian Smith
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.