Cute Chess 0.9.0 (GUI) released
Moderator: Ras
-
PaulieD
- Posts: 246
- Joined: Tue Jun 25, 2013 8:19 pm
Re: Cute Chess 0.9.2 released
Have you created a manual for the GUI yet?
-
ilari
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Cute Chess 0.9.2 released
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 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; }
That is very much doable. The most difficult thing about adding features like these is avoiding cluttering the user interface while doing it.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.
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.
-
ilari
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Cute Chess 0.9.0 (GUI) released
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/126pferd 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.
-
ilari
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Cute Chess 0.9.2 released
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.PaulieD wrote:Have you created a manual for the GUI yet?
-
pferd
- Posts: 134
- Joined: Thu Jul 24, 2014 2:49 pm
Re: Cute Chess 0.9.0 (GUI) released
Unfortunately I am running Linux, so I cannot use this executable.ilari wrote: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/126pferd 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.
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
Does Komodo 9.x work from the console?pferd wrote:Unfortunately I am running Linux, so I cannot use this executable.ilari wrote: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/126pferd 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.
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.
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
Just another suggestion:
It would be nice to have a count number in the engine installation dialogue.

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

-
pferd
- Posts: 134
- Joined: Thu Jul 24, 2014 2:49 pm
Re: Cute Chess 0.9.0 (GUI) released
Komodo 9.x does work for me from command-line, cutechess-cli and scidvs-pc but not in cutechess.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)
I downloaded komodo 9.x again earlier this week, but that did not change things.
-
ilari
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Cute Chess 0.9.0 (GUI) released
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.pferd wrote:Unfortunately I am running Linux, so I cannot use this executable.ilari wrote: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/126pferd 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.
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.
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.
-
ilari
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Cute Chess 0.9.2 released
Good idea. I always forget that some people have a ton of chess engines on their computer.Guenther wrote:Just another suggestion:
It would be nice to have a count number in the engine installation dialogue.
