Chess on Android.

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

Moderators: hgm, Rebel, chrisw

User avatar
hgm
Posts: 27811
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Chess on Android.

Post by hgm »

abik wrote:Ah, thanks for that clarification. This becomes a bit more like UCI then. It makes sense, as it avoids clock drift between GUI and engine.
Well, there is not much difference between UCI and CECP, other than in layout (at least for the things that are not impossible in UCI): UCI wants to have lots of commands on the same line, while in CECP each command has to be on a separate line.

Note that the UCI specs also do not require that wtime or btime commands are sent with the go command.
UCI specs wrote:* go
start calculating on the current position set up with the "position" command.
There are a number of commands that can follow this command, all will be sent in the same string.
If one command is not sent its value should be interpreted as it would not influence the search.
...
* wtime <x>
white has x msec left on the clock
* btime <x>
black has x msec left on the clock
...
* movestogo <x>
there are x moves to the next time control,
this will only be sent if x > 0,
if you don't get this and get the wtime and btime it's sudden death
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Chess on Android.

Post by abik »

New version posted on Google Play. Tonight (California time), I will also post in on my website for direct download. Please let me know if you find any issues.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Chess on Android.

Post by pedrox »

I tried to play 100 games with danasah to 1 minute with limited 2000 elo.

DanaSah6 (xboard) - DanaSah6 (uci) --> 51 - 49

It seems that everything was correct and without lost in time.

Also:

DanaSah (xboard 2000 Elo) - Adroitchess 0.3 --> 7,5 - 2,5

DanaSah (xboard 1400 Elo) - CfA --> 6,5 - 3,5
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Chess on Android.

Post by abik »

pedrox wrote:It seems that everything was correct and without lost in time.
Great to hear!

The latest version on Google Play is sending clock information for every move (as HG suggested). The initial experiments I reported were with sending clocks right before the initial go command only (so perhaps there was some clock drift there). After implementing HG's suggestion, I did some more experiments with Crafty and DanaSah, and saw no issue either.
Gurcan Uckardes
Posts: 196
Joined: Wed Oct 29, 2014 12:42 am

Re: Chess on Android.

Post by Gurcan Uckardes »

The latest version on Google Play is sending clock information for every move (as HG suggested). The initial experiments I reported were with sending clocks right before the initial go command only (so perhaps there was some clock drift there). After implementing HG's suggestion, I did some more experiments with Crafty and DanaSah, and saw no issue either.
Already whispered the good news via my blog:
http://chesstroid.blogspot.com/2016/04/ ... -time.html

Now i can't wait to test the feature deeply.
My blog for Android users: http://chesstroid.blogspot.com
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Chess on Android.

Post by abik »

Gurcan Uckardes wrote: Already whispered the good news via my blog:
http://chesstroid.blogspot.com/2016/04/ ... -time.html

Now i can't wait to test the feature deeply.
Gurcan,
You have always been one of my most loyal fans! :-)
Please don't hesitate to report any issue you find.
Aart
Gurcan Uckardes
Posts: 196
Joined: Wed Oct 29, 2014 12:42 am

Re: Chess on Android.

Post by Gurcan Uckardes »

abik wrote: Please don't hesitate to report any issue you find.
Aart
There's something i forgot to mention since a while, though not related the above xb issue, but related to gauntlets:
Can you please check why the engine names are not sorted alphabetically when a gauntlet is played. The order is correct in round robins but not in gauntlets.
The generated tour.xml confirms the disorder.
I guess it's easy to fix as the disorder is correlated to the name of the engine which plays the gauntlet.
My blog for Android users: http://chesstroid.blogspot.com
Gurcan Uckardes
Posts: 196
Joined: Wed Oct 29, 2014 12:42 am

Re: Chess on Android.

Post by Gurcan Uckardes »

pedrox wrote:I tried to play 100 games with danasah to 1 minute with limited 2000 elo.

DanaSah6 (xboard) - DanaSah6 (uci) --> 51 - 49

It seems that everything was correct and without lost in time.

Also:

DanaSah (xboard 2000 Elo) - Adroitchess 0.3 --> 7,5 - 2,5

DanaSah (xboard 1400 Elo) - CfA --> 6,5 - 3,5
Pedro,
What's your recommendation for DanaSah in Rapidroid?
Current ranked version is 5.07 XB compiled by Jim. It played 15 sec/move only so far and it can't use UCI.
Is there a UCI compatible version or should i stay with xb and just try to port it to 900+2 setting?
My blog for Android users: http://chesstroid.blogspot.com
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Chess on Android.

Post by pedrox »

Gurcan Uckardes wrote: Pedro,
What's your recommendation for DanaSah in Rapidroid?
Current ranked version is 5.07 XB compiled by Jim. It played 15 sec/move only so far and it can't use UCI.
Is there a UCI compatible version or should i stay with xb and just try to port it to 900+2 setting?
I have introduced uci from version 6. No 5.07 UCI. Yesterday I tried the JA version 5.07 and had some problems (with time?).

If you want to try I think I have a version 6 that plays well xboard and uci.
http://www.mediafire.com/download/xrh3i ... h6-arm.zip

- danasah6.arm7 --> version with full strength
- danasah6_ls.arm7 --> version with limit strength (0 and 2300-2500)
- danasah6_rnd.arm7 --> version with random move (this version is part of the limited version , but for GUI that not have complete options for uci,
I recommend changing the old executable by this).
- danacfg.txt --> configuration file for full and limitstrength xboard version,
It must be in the same folder as the engine.

Opening books not included.

The Elo should be similar to version 5.07 ( + -20 ), I've changed only a little time management and search.

I have prepared executable without much probes, if you have any problems just tell me.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Chess on Android.

Post by pedrox »

Changed the name that appears in the UCI protocol. If you have downloaded before this message download again.