GNUChess for Android

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

Moderators: hgm, Rebel, chrisw

Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

GNUChess for Android

Post 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
stevenaaus
Posts: 608
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: GNUChess for Android

Post by stevenaaus »

Here's a screenshot of the GUI. But that green ... *&!^%*

Image
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: GNUChess for Android

Post by Michel »

stevenaaus wrote: But that green ... *&!^%*

Image
I've actually gotten to like it. But you can turn it off.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: GNUChess for Android

Post 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!
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: GNUChess for Android

Post 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
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: GNUChess for Android

Post 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
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: GNUChess for Android

Post 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.
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: GNUChess for Android

Post 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.