Author: Adrian Smith
Date: 06:20:16 08/06/01
Go up one level in this thread
On August 06, 2001 at 05:57:16, Tony Werten wrote:
>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:
I'm using ANSI C
>
>('a'+(from and 7))+('1'+(from shr 3))+('a'+(to and 7))+('1'+(to shr 3))
hmm, i'm a little confused by that statement. Sorry, could you explain a little
further? That'd be appreciated. Thanks
>
>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.