Page 1 of 1

GNUChess for Android

Posted: Fri Dec 24, 2010 8:56 am
by Michel
As an experiment I compiled my latest version of GNUChess for Android. See here

http://alpha.uhasselt.be/Research/Algeb ... s-release/

I made no attempt to optimize the binary specifically for Android so it is not very fast.

To use this binary you need a GUI (either xboard of UCI). A good one is Aart Bik's "Chess for Android" which is available for free on the Android Market.

Importing an engine into Chess for Android is not entirely transparent but not difficult either. Instructions are here

http://www.aartbik.com/MISC/uchess.html

Re: GNUChess for Android

Posted: Fri Dec 24, 2010 9:29 am
by stevenaaus
Here's a screenshot of the GUI. But that green ... *&!^%*

Image

Re: GNUChess for Android

Posted: Sat Dec 25, 2010 8:59 am
by Michel
stevenaaus wrote: But that green ... *&!^%*

Image
I've actually gotten to like it. But you can turn it off.

Re: GNUChess for Android

Posted: Sat Dec 25, 2010 10:02 pm
by MikeB
I pushed the gnuchess.bin to data\local\eng folder and changed the permssions - I can see the gnuchess.bin engine under the import uci engine command - but it does not run. The default engine stays in place.

I can verify this because the output is the same as the default engine.

Update : I got it - I had pushed the wrong file. Below is the correct link for those that are unsure. It's pretty obvious really - I just grabbed the wrong one.

http://alpha.uhasselt.be/Research/Algeb ... 1b-android

For not being optimize - it's pretty fast - sees about 40K/nps on my Incredible. Nice work!

Re: GNUChess for Android

Posted: Mon Dec 27, 2010 2:36 pm
by Michel
For not being optimize - it's pretty fast - sees about 40K/nps on my Incredible.
Thanks for this data point!

Meanwhile I noticed that the binary does not behave itself as the author of Chess for Android intended. This is because of some bugs in the implementation of the UCI movetime command (UCI support in GnuChess is rather new). Here is a new binary.

http://alpha.uhasselt.be/Research/Algeb ... 2b-android

Re: GNUChess for Android

Posted: Mon Dec 27, 2010 8:56 pm
by abik
Thanks for providing the GNU chess binary Michel. Works great! For what it is worth, here are a few nodes-per-seconds ratings from an early opening position on a Nexus One. I am working on extending Chess for Android with a simple UCI engine-engine match feature to simplify running small tournaments on a single phone.

Code: Select all

                                  Nexus One
                                 (Android 2.2)
bikjumpv2.1                       120KN/s
stockfish1.9                       90KN/s
gnuchess-5.07-153.2b-android       62KN/s

Re: GNUChess for Android

Posted: Thu Dec 30, 2010 12:14 pm
by Michel
New binary:

http://alpha.uhasselt.be/Research/Algeb ... 3b-android

It fixes a bug which manifests itself only on very slow hardware on the lowest
difficulty setting for Chess for Android. I expect very few people to be affected by it.

Re: GNUChess for Android

Posted: Fri Dec 31, 2010 2:02 am
by abik
Michel wrote:It fixes a bug which manifests itself only on very slow hardware on the lowest difficulty setting for Chess for Android. I expect very few people to be affected by it.
I conducted a match between this new binary and a version of BikJump using a engine-engine match feature I am working on. The match and some screenshots can be found at http://www.open-chess.org/viewtopic.php ... 1&start=25.