Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Arena GUI 0.78 Beta 4 by Martin Blume is available!

Author: Andreas Herrmann

Date: 00:38:18 03/27/02

Go up one level in this thread


On March 27, 2002 at 02:37:41, Martin Blume wrote:

>On March 26, 2002 at 20:43:53, Art Basham wrote:
>
>>Amen, Roy..very well said!
>>
>>I too would like to drag the pieces in Arena...
>>(hint hint to Martin, the great programer of the now famous Arena..)....:-)
>
>Ok, Roy and Art, I actually had a look on things yesterday and it seems not to
>be too difficult, so you can expect it to be in the next version. I remember
>programming this some years ago in my old chess program, and if was very
>difficult. But this was DOS, and things have changed obviously a little bit,
>this time for the better. :-)
>
>Martin

AFAIK your Arena is developed in Delphi. So in Delphi you can use the events
"OnMouseDown" and "OnMouseUp". If the chess coordinates after OnMouseUp not the
same than you have a complete move if both coordinates are on the chessboard. If
they are the same than you have the "from coordinate" or the "to coordinate".
I think this must be very easy for you to implement.

have a nice day
Andreas




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.