Chess for Android as Client of a Chess Server
User PJ+ at the OpenChess forum implemented a nifty client utility that converts Chess for Android to a client for a remote chess server. To make this work (assuming you already have a remote chess server running at some hostname and port), simply do the following steps.
- Download the version of Chess for Android that grants network permission to its UCI clients (the default version at the market does not do this for obvious security reasons).
- Download PJ+'s client-android-cli utility.
- Construct a file, for example uci_client, that contains the single line ./client-android-cli <hostname> <port> for the hostname and port of the remote chess server.
- Copy 2. and 3. to SD card, then install these from SD just like the first-time install of UCI engines.
- Finally, the single line file uci_client can now be imported as any other UCI engine, and will connect to the remote chess server.
I tried this method myself connecting Chess for Android as client to a remote chess server with a 64-bit BikJump engine on a Linux desktop, and this yielded over 1,000KNs. PJ+ used his utility to connect to a remote chess server with Houdini, yielding over 25,000KNs. Pretty neat to run a 25 million nodes per second search on a phone, right? Thanks PJ+!
Comments
Sincerly Matthias
Castling is allowed even when the king has been in check previously, as long as it is not in check at the time of castling. Please see this explanation (listed under common mistakes).
You (and PJ+) inspred me to try to use your Chess for Android with a remote chess engine (Houdini), but I cannot even start since I download of PJ+'s client-android-cli utility doesn't work. Can you put it up on your download page please?
Thanks for your quick reply and willingness to help all of us chess fans ;-)
I've set up chess server on Linux desktop and would really like to try accessing Stockfish via your "Chess for Android" app on my Samsung Galaxy S2.
Waiting for PJ+ reply might take a while, so, could you please email me that cli utility to BojDob@yahoo.com? I don't think there will be any problem since the file was actually up and free for all to take...
Also, which engine did you find strongest, actually, fastest, on a mobile smartphone? (Say, Stockfish might be strongest, but if say Robbolito calculates more moves in one minute, then this is actually strongest engine.)