Cute Chess 0.9.0 (GUI) released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

PaulieD
Posts: 246
Joined: Tue Jun 25, 2013 8:19 pm

Re: Cute Chess 0.9.2 released

Post by PaulieD »

Have you created a manual for the GUI yet?
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.2 released

Post by ilari »

Ferdy wrote:In the following, do the entries weight in foreach() are read in descending order?

Code: Select all

Chess::GenericMove OpeningBook::move(quint64 key) const
...

// Pick a move randomly, with the highest-weighted move having
	// the highest probability of getting picked.
	int pick = Mersenne::random() % totalWeight;
	int currentWeight = 0;
	foreach (const Entry& entry, entries)
	{
		currentWeight += entry.weight;
		if (currentWeight > pick)
			return entry.move;
	}
The entries are not ordered by weight at all, but that doesn't matter - the highest-weighted move still has the best chance of getting chosen. Ordering the entries differently wouldn't change anything.
Ferdy wrote:In any case, I would like to suggest to allow the user to control the minimum weight percentage that a move will be played, say minWePercent = 8, then play the move if wePercent >= minWePercent. So the moves b3 and e3 will not be played.

Image

Then you can add the maxWePercent. If the user wants the engine not to play the best book move for whatever purpose, he may set it to 30 for example.
So for book moves having wePercent > maxWePercent, that move will not be played. In this case the move e4 will not be played.
That is very much doable. The most difficult thing about adding features like these is avoiding cluttering the user interface while doing it.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.0 (GUI) released

Post by ilari »

pferd wrote:It happens, when I start a human vs Komdodo 9.x game, an engine-engine game or a tournament.

When I want to start a game, the error appears immediately after I click OK in the New Game dialog and I am prompted to the default tab.

When I am running a tournament everything works fine until the first game with Komodo. The engine process and the tournament gets stopped.
I don't have Komodo 9.x but I made a new Windows executable that launches a console where you can see all of Cute Chess' warning and debug output. Can you try it and report the console output to me: https://github.com/cutechess/cutechess/issues/126
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.2 released

Post by ilari »

PaulieD wrote:Have you created a manual for the GUI yet?
No - things are changing so quickly that any manual would always be full of outdated information. And I think manuals are old-fashioned anyway. I'm planning on making some videos where I show how to do different things with Cute Chess, once we have a stable 1.0 release.
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Cute Chess 0.9.0 (GUI) released

Post by pferd »

ilari wrote:
pferd wrote:It happens, when I start a human vs Komdodo 9.x game, an engine-engine game or a tournament.

When I want to start a game, the error appears immediately after I click OK in the New Game dialog and I am prompted to the default tab.

When I am running a tournament everything works fine until the first game with Komodo. The engine process and the tournament gets stopped.
I don't have Komodo 9.x but I made a new Windows executable that launches a console where you can see all of Cute Chess' warning and debug output. Can you try it and report the console output to me: https://github.com/cutechess/cutechess/issues/126
Unfortunately I am running Linux, so I cannot use this executable.

Is there a quick way how I can do a debug compile?

In the meantime I tested cutechess on my second machine with Ubuntu and encountered the same problem.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Cute Chess 0.9.0 (GUI) released

Post by Guenther »

pferd wrote:
ilari wrote:
pferd wrote:It happens, when I start a human vs Komdodo 9.x game, an engine-engine game or a tournament.

When I want to start a game, the error appears immediately after I click OK in the New Game dialog and I am prompted to the default tab.

When I am running a tournament everything works fine until the first game with Komodo. The engine process and the tournament gets stopped.
I don't have Komodo 9.x but I made a new Windows executable that launches a console where you can see all of Cute Chess' warning and debug output. Can you try it and report the console output to me: https://github.com/cutechess/cutechess/issues/126
Unfortunately I am running Linux, so I cannot use this executable.

Is there a quick way how I can do a debug compile?

In the meantime I tested cutechess on my second machine with Ubuntu and encountered the same problem.
Does Komodo 9.x work from the console?

It is possible that it refuses to start, because somehow it thinks it is not registered, even when you have bought a legal copy.
(BTW I don't know how much working copies can be moved to different computers)
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Cute Chess 0.9.2 released

Post by Guenther »

Just another suggestion:

It would be nice to have a count number in the engine installation dialogue.

Image
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Cute Chess 0.9.0 (GUI) released

Post by pferd »

Guenther wrote: Does Komodo 9.x work from the console?

It is possible that it refuses to start, because somehow it thinks it is not registered, even when you have bought a legal copy.
(BTW I don't know how much working copies can be moved to different computers)
Komodo 9.x does work for me from command-line, cutechess-cli and scidvs-pc but not in cutechess.

I downloaded komodo 9.x again earlier this week, but that did not change things.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.0 (GUI) released

Post by ilari »

pferd wrote:
ilari wrote:
pferd wrote:It happens, when I start a human vs Komdodo 9.x game, an engine-engine game or a tournament.

When I want to start a game, the error appears immediately after I click OK in the New Game dialog and I am prompted to the default tab.

When I am running a tournament everything works fine until the first game with Komodo. The engine process and the tournament gets stopped.
I don't have Komodo 9.x but I made a new Windows executable that launches a console where you can see all of Cute Chess' warning and debug output. Can you try it and report the console output to me: https://github.com/cutechess/cutechess/issues/126
Unfortunately I am running Linux, so I cannot use this executable.

Is there a quick way how I can do a debug compile?

In the meantime I tested cutechess on my second machine with Ubuntu and encountered the same problem.
Sorry, I made the wrong assumption. On Linux you already get the console output if you just run the "cutechess" or "/usr/games/cutechess" command from the command line.

EDIT: If you want to make a debug build you can pass the "-debug" parameter to "qmake". Or "CONFIG+=debug" if plain "-debug" doesn't work.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.2 released

Post by ilari »

Guenther wrote:Just another suggestion:

It would be nice to have a count number in the engine installation dialogue.

Image
Good idea. I always forget that some people have a ton of chess engines on their computer.