SharpChess 2 by Peter Hughes

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

SharpChess 2 by Peter Hughes

Postby peterhughes » 30 Mar 2005, 00:49

In order to completely distinguish SharpChess, from Albert Bertilsson's #Chess, I have renamed the executable to:

SharpChess2.exe.

This should allow the new executable to co-exist, and be distinct from, Albert Bertilsson's #Chess, whose execuable was also name "sharpchess.exe".

Further, since the last version, I have:
    - Added 50 Moves Draw detection
    - Added Insufficient Material Draw detection (KvK, KBvK, KNvK only)
    - Completely re-written support for all WinBoard time modes:
      * Tournament Clock (n moves in x mintes)
      * Incremental Clock (x base mintes + y seconds-per-move)
      * Fixed-time-per-move

If possible, I would like this version of SharpChess to replace the old version in any tournaments already entered.

There have been major modifications to the way the program plays, certainly in terms of time-management, and would therefore recommend re-qualification to any current tournaments.

This version is not as tested as I would like (if it ever is...), but I wanted to release it before any tournaments actually started.

Many thanks
Peter Hughes
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby peterhughes » 30 Mar 2005, 22:23

Erm... I should probably include the download URL again... :D

http://sharpchess.com/?page=02%20Download
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby Jim Ablett » 04 Apr 2005, 18:46

Hello Peter,

A great new engine deserves a logo!

Image

Regards,

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: SharpChess 2 by Peter Hughes

Postby peterhughes » 07 Apr 2005, 12:37

Thank you!

I'm not so sure about the "great", but thanks anyway.

I have been thinking of doing a logo that could be used in Arena (I presume that the size you 've made it, is for that purpose?), but I hadn't got around to it yet. I'm still stuck in the middle of futility pruning at the moment!

I have been thinking of a logo, and I was thinking of making it mostly black, with yellow text, similar to the SharpChess program shortcut icon itself. If you download SharpChess, you'll see the icon I mean: It consists of a black knight, with a yellow "#" symbol on it. I'd really like a bigger, more 3D-ish version of the knight & sharp logo, to add to my webpage banner at http://sharpchess.com.

As I said, though, I've found it difficult to drag myself away from fiddling with the code, and getting around making the Arena-copatable logo!

Many thanks
Pete
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby Jim Ablett » 07 Apr 2005, 20:53

I thought I'd have another crack at it
following your suggestions.

Image

best,
Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: SharpChess 2 by Peter Hughes

Postby peterhughes » 07 Apr 2005, 22:53

Cheers Jim, that's smashing mate!

:D

Thanks
Pete
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby Dann Corbit » 08 Apr 2005, 03:00

There's a little (intended?) irony, perhaps that # means checkmate in chess.
Dann Corbit
 

Re: SharpChess 2 by Peter Hughes

Postby peterhughes » 08 Apr 2005, 06:14

I'd like to say that I'd been that clever... but it's just because it's been written in C#. :)

Although, if the engine ever gets over 2000 ELO, the I might change my mind, and say that it was! :shock:
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby Jim Ablett » 08 Apr 2005, 06:22

I really like how your gui shows it thinking,
highlighting possible variations on the chessboard
squares, it's fascinating to watch. I wish Winboard
and Arena had this feature, it's excellent.

Regards,
Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: SharpChess 2 by Peter Hughes

Postby Tord Romstad » 08 Apr 2005, 11:00

Jim Ablett wrote:I really like how your gui shows it thinking,
highlighting possible variations on the chessboard
squares, it's fascinating to watch. I wish Winboard
and Arena had this feature, it's excellent.

Hi Jim and Peter,

I don't run Windows. Is it possible to describe how this feature works? I am currently working on a GUI for Scatha (a screen shot can be found on my Glaurung and Scatha page). Perhaps I will want to implement a similar feature.

Tord
User avatar
Tord Romstad
 
Posts: 639
Joined: 09 Oct 2004, 12:49
Location: Oslo, Norway

Re: SharpChess 2 by Peter Hughes

Postby peterhughes » 08 Apr 2005, 11:25

You can see it in the screenshot at http://SharpChess.com. Jim's talking about 2 yellow highlighted squares g8-f8.

The yellow highlights show the move, "from square" and "to square" that the computer is currently analysing.

Only the first move from the root of each line is highlighted.

Moves that the computer spends more time investigating, appear highlighted for longer, so you get a good idea of what the computer thinks is "interesting".

Code: Select all
int AlphaBeta(depth, ...)
{
   foreach Move in MoveList
   {
       MakeMove(from, to)
       if ( IsRootOfSearch(depth) )
       {
          SendMoveInfoToGUI(From, To)
       }
       AlphaBeta(depth-1, ...)
       UndoMove()
      
       ... other stuff
   }
}
peterhughes
 
Posts: 42
Joined: 18 Jan 2005, 23:37

Re: SharpChess 2 by Peter Hughes

Postby Jim Ablett » 08 Apr 2005, 14:24

I think it's great to see a graphic interpretation of an engines thinking as opposed to just lines of text. Peter's gui does this very well. I would also like to see this feature as an option where you can display it separately as a second smaller chessboard about 1/4 size in the top right corner. This is where I place it with Arena when playing Sharpchess.

Jim.
___________________________
http://jimablett.net63.net/
Jim Ablett
 
Posts: 721
Joined: 27 Sep 2004, 10:39
Location: Essex, England

Re: SharpChess 2 by Peter Hughes

Postby Tord Romstad » 12 Apr 2005, 11:10

Hi Jim and Peter,

Thanks for explaining the feature. I may want to implement something similar my GUI. One idea I have thought about is to have a separate window with three tiny chess boards. The first board should show the position at the end of the PV, the second board should show the move currently searched from the root, and the third board the current position in the search tree
(updated every second or so).

First, however, I have some bugs to fix, and some more important features to implement (like saving and loading games).

Tord
User avatar
Tord Romstad
 
Posts: 639
Joined: 09 Oct 2004, 12:49
Location: Oslo, Norway


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 50 guests