Posts

Showing posts with the label XBoard

Chess for Android 10 Year Anniversary!

Image
I can't believe it, but Chess for Android just passed its ten year anniversary! In November 2008, it appears for the first time on the -then-called- Android Market, together with Reversi for Android. Checkers for Android was soon to follow. The Android Market was later renamed Google Play . Working on this GUI has been a lot of fun, even though it took all spare time away from further developing my chess engine BikJump. But pioneering support for third party engines (at a time nobody was compiling for ARM), both UCI and XBoard, accessing endgame tablebases on SD card, adding PGN and setup features,simplifying engine setup through Chessbase compatible format and the Android Open Exchange format, using OCR apps to read chess positions, translating text to other languages, maintaining an online manual , and recently adding support for Certabo, DGT, and Millennium electronic chessboards has been just as rewarding. I have compiled many engines for Android back in the days, ran ful...

Polyglot for Android

Image
There was an interesting discussion on the TalkChess forum whether a chess GUI running on the Dalvik Virtual Machine could merely support a single protocol, and use an adapter, like Polyglot, to support other protocols. Even though Chess for Android already supports both UCI and XBoard/WinBoard, I was intrigued by the question, and decided to give it a try. First, I compiled the polyglot sources for ARM-based Android devices (I had to make a few source changes to make that work). Then I edited a polyglot.ini file pointing to my own UCI engine bikjump1.8 compiled for ARM: [Polyglot] EngineCommand=bikjump1.8 EngineName=BikJumpAsXBoard EngineDir=/data/local/tmp/ [Engine] And gave it a try directly from the command line: $ ./polyglot_for_android PolyGlot 1.4.67b by Fabien Letouzey. new st 1 post go 1 -1 0 1 h4 1 +0 0 3 h3 1 +2 0 6 g3 1 +12 0 20 Nh3 1 +17 0 22 Nf3 2 +0 0 46 Nf3 Nf6 3 +17 0 148 Nf3 Nf6 Nc3 4 +0 1 772 Nf3 Nf6 Nc3 Nc6 5 +2 2 1691 Nf3 Nf6 Nc3 Nc6 g3 6 +...

Temporary Chess Server

Image
As a follow-up on the previous posting and for users that want to experiment with a remote chess server without setting one up themselves, I have, very temporarily, set up a remote chess server with various engines at ports  2000  through  2005  on  aartbik.dyndns.org . Simply type this hostname and one of the ports in Chess for Android and let me know if you were able to connect!

Connecting Chess for Android to a Remote Server

Image
I have received several questions on how to connect Chess for Android running on an Android device (e.g. a phone) as client to a remote chess server (e.g. a powerful desktop), so I decided to write a small document with detailed instructions. What you will need: The server software from Bernhard Wallner's chess utilities , suited for your server's operating system (if, say, your desktop runs Windows, you will need to download the Windows version). You do not need to download the client software in this case. The network enabled version of Chess for Android . On the server, start the engine server software, and construct a new row for every engine you want to run remotely. Assign a name, port number, and select the full path to each engine binary (an executable that runs on the server). You can also supply command line options for starting the engine. Check the active checkboxes and click start when done. This yields something similar to the screenshots below. Here, I have s...

Chess for Android 3.1.5

Image
I just released version 3.1.5 of Chess for Android, available either at the Android market or as direct download . New features include: Ability to filter PGN games (on player, event, ECO, ELO rating range, or result) Automatically re-import last UCI/Xboard engine on exit-re-entry of application Finger sweep left or right as alternative game navigation Minor improvements in setup position feature

Arasan 14.0.1 for Android

Image
Jon Dart released version 14.0.1 of Arasan and Jim Ablett kindly provided a binary for ARM-based Android devices. I did a 1 second per move match from both sides of the Nunn opening suite between version 13.4 and the new 14.0.1 using Chess for Android , which ended in 11-9 in favor of the older version (of course not enough games to say anything conclusive; the match was merely a quick sanity check on the new version).

Chess for Android 3.1.4

It has been quiet for a while, because I was really busy at work, but finally Chess for Android version 3.1.4 has been released, available at the Android market or as direct download . New features include: Position setup improvements Enhanced x-chess-pgn content viewing Option to hide engine's principal variation (useful when playing a real game) Simplified connection with remote UCI/XBoard engine (network version only

Chess for Android 3.1.1

I just released version 3.1.1 of Chess for Android at the Android market and as direct download with the new Setup Position feature. Update : There was a minor bug in defining the halfmove clock of a position, something that is relevant only for positions affected by the fifty move rule. I have posted a fix in version 3.1.2 on my website (or you can wait for the next release through the market).

More About Setup Position

Image
I finished the new Setup Position feature, which I hope to release really soon. The board editor allows specifying a full FEN position, that is, a board position together with castling rights, the side-to-move, and possibly an en-passant file and halfmove clock counter (for the fifty-move rule). Touching a piece outside the board changes the "pen" to that piece. Alternative, touching a piece on the board changes the "pen" into that piece, and removes the piece from the board (useful to move pieces on the board to another position). The landscape and portrait layouts are shown below.

Setup Position

Image
By popular demand, I am working on a Setup Position feature in Chess for Android  (file, clipboard, and MIME type operations to import and export games are already supported).This new feature is still in prototype stage, but it is going to look something like shown below.

Chess for Android 3.1

I just released version 3.1 of Chess for Android, available from the Android Market or as direct download . New features include: engine pondering (UCI and XBoard) fixed coach bug with move from/to a1 added application/x-chess-pgn MIME support

TjChess for Android

Image
Another engine for ARM-based Android devices! Tony Hecker kindly made ARM binaries of  Tjchess  available as either an UCI engine or a XBoard engine. Both import well in Chess for Android . Some screenshots below. With so many new engines, is it time for yet another Android chess engine tournament ?

Android Engines Tournament: Group A

Image
Group A has finished a complete thirty seconds-per-move tournament in Chess for Android , played from both sides of all positions in the Nunn opening suite under the conditions described earlier. Congratulations to Richard Vida for Critter 's victory in this tournament! All games can be downloaded from the tournament page . This completes the Android tournament with longer time controls (although since many more engines are available now, perhaps another one is already necessary!).                        1         2        3         4         5                     1 Critter 1.2 32-bit       *     11.5-8.5  9.5-10.5  15.0-5.0  11.5-8.5  47.5/80 2 Stockfish 2.1.1 JA    8.5-11.5     *    13.0-7.0    9.5-10.5 ...

Arasan for Android

Image
Jim Ablett kindly compiled Jon Dart's Arasan engine for ARM-based Android devices so that it can be imported in Chess for Android . The engine supports multithreading, Nalimov endgame tablebases, and clocked at about 100Kns out of the opening on my Nexus S.  

Jim Ablett's Android Chess Engine Bundle Tested

As posted earlier, Jim Ablett posted an Android Chess Engine Bundle , which various UCI and Win/XBoard engines that can be imported in Chess for Android . Because the Win/XBoard protocol feature is still relatively new in Chess for Android and conducted a test tournament between all the XBoard engines (except gfc-08-rev5-ja which often claims a mate without actually making the move; I am not sure if the standard allows this, but it seems weird that the GUI should verify the claim). During this tournament I found a few opportunities for improving the GUI's handling of the protocol, which will be released soon. Also, the next release will add the much requested pondering feature (also called permanent brain ). Games available on request.                           1  olithink-530-ja          34.5/38 2  crafty-234-ja            32.0/38 3  phala...

Android Engines Tournament: Group B

Image
Group B has finished a complete thirty seconds-per-move tournament in Chess for Android , played from both sides of all positions in the Nunn opening suite under the conditions described earlier. Regrettably I found that Crafty was put at a slight disadvantage (not something that would have changed the outcome though) due to a misinterpretation of XBoard's resign plus move command, causing a resign by illegal move in the next game. This issue has been fixed now. Congratulations to IvanHoe for its promotion to Group A. All games can be downloaded from the tournament page . The games of the final group A have started!                        1        2        3         4        5                     1 IvanHoe-Beta 999947c    *     15.0-5.0 17.0-3.0  19.0-1.0 19.0-1.0 ...

Jim Ablett's Android Chess Engine Bundle

Jim Ablett very kindly posted an Android Chess Engine Bundle with various UCI and XBoard engines that can be imported in Chess for Android . UCI: daydreamer-175-ja  greko-82-ja    redqueen-098-ja  stockfish-211-ja diablo-051b-ja     jazz-501-ja    rotor-04-ja      sungorus-14-ja doublecheck-21-ja  komodo-13-ja   simplex-098-ja garbochess-3-ja    pepito-159-ja  sissa-20-ja XBOARD: uzz-os-11-27-08          kmtchess-121-ja   scidlet-361-b2-ja chess-one-201-ja         knightcap-36-ja   sjeng-112-ja crafty-234-ja            mizar-030-ja      sloppy-023-ja exchess-054-beta-ja      mskcp-145-ja      surprise-43-beta13-ja gfc-08-rev5-ja...

Android Engines Tournament: Group C

Image
Group C has just finished a complete thirty seconds-per-move tournament in Chess for Android , played from both sides of all positions in the Nunn opening suite under the conditions described earlier. Congratulations to Gary Linscott for GarboChess' promotion to Group B. All games can be downloaded from the tournament page .                            1        2         3         4        5                     1 GarboChess3                 *     10.5-9.5   9.5-10.5 15.0-5.0 16.0-4.0  51.0/80 2 Daydreamer 1.75 JA        9.5-10.5    *     12.0-8.0  14.5-5.5 13.0-7.0  49.0/80 3 GNU Chess 5.07.153.3b-32 10.5-9.5  8.0-12.0     *     11.0-9.0 16.0-4.0 ...

Android Engines Tournament: Group D

After many more cycles on my Nexus One, Group D has just finished a complete thirty seconds-per-move tournament in Chess for Android , played from both sides of all positions in the Nunn opening suite under the conditions described earlier. Quite a shuffle-up in the results this time compared to the qualification tournament. Congratulations to Aaron Becker for Daydreamer's promotion to Group C. All games can be downloaded from the tournament page .                       1        2         3         4        5 1 Daydreamer 1.75 JA     *     12.0-8.0  11.0-9.0  14.5-5.5 16.0-4.0  53.5/80 2 sloppy              8.0-12.0     *     14.0-6.0  10.5-9.5 16.0-4.0  48.5/80 3 RedQueen 0.9.8 JA   9.0-11.0  6.0-14.0     *     11....

Android Engines Tournament: Group E

After burning cycles on my Nexus One for many days, Group E has just finished a complete thirty seconds-per-move tournament,  played from both sides of all positions in the Nunn opening suite under the conditions described earlier. Congratulations to Ben-Hur Carlos Vieira Langoni Jr for RedQueen's promotion to Group D. All games can be downloaded from the tournament page .                     1         2         3         4         5                     1 RedQueen 0.9.8 JA     *     10.0-10.0 14.5-5.5  17.0-3.0  19.5-0.5  61.0/80 2 greko8.2          10.0-10.0     *     14.5-5.5  16.0-4.0  18.5-1.5  59.0/80 3 Sungorus 1.4 JA    5.5-14.5  5.5-14.5     *     13.0-7.0 ...