Posts

Beat the Masters

Image
As a fun way to test the new opening suite feature , I conducted a fast match between the very strong Komodo 3.0 chess engine and the built-in Java engine of Chess for Android using the " beat the masters suite " (a version with 251 test positions). Komodo is clearly much too strong for my own humble engine and the suite was meant to test the quality of moves found by chess engines, not as an opening suite. Nevertheless, since some positions give one side a very strong advantage, it seemed like a fun way to test the new opening suite feature. The outcome was as expected: Komodo won most games and only a few draws occurred. However, Chess for Android had one victory. 1 Komodo32 3 AB    +491/  -1/=10 98.80%  496.0/502 2 Chess for Android  +1/-491/=10  1.20%    6.0/502 In the position below, with black to move and only half a second thinking time per move, Komodo played 1... Rxe2, which yields a lost position (black should have played 1...hxg6). Chess for Android did not

Chess for Android 3.0

Image
Chess for Android v3.0 is available from the Android market or as direct download . New features include: The possibility to play engine tournaments from both sides of any external book in PGN format, as explained in this blog posting . Layout and formatting improvements in the UCI analysis output window. Light grey board color. Relaxed FEN parsing to accept non-standard, but frequently occurring omissions in the FEN string. Ability to view simple cross-table while tournament is in progress (>> button).

Silver Opening Suite

Image
Using the new upcoming opening suite feature in Chess for Android , I conducted a tournament between the most recent Android versions of Stockfish, Komodo, and Critter (32MB cache, 1s./move) from both sides of the " Silver Opening Suite " (300 games total). A screenshot of the tournament in progress is shown below (also note that the upcoming version improved the layout and display of the engine analysis window). When the tournament is over, a summary of the results is shown. The results organized in a cross-table are shown below. Stockfish is the clear winner. Komodo now comes in third (probably because v3 honors fixed time per move better than previous versions).                  1          2          3 1 Stockfish 2.1  **         60.0-40.0  76.5-23.5  136.5/200 2 Critter 1.2    40.0-60.0  **         72.5-27.5  112.5/200 3 Komodo32 3 AB  23.5-76.5  27.5-72.5  **         51.0/200

Opening Test Suites

Image
To eliminate the effect of opening books, it is a common practice to test the strength of chess engines by letting them play from both sides of a pre-selected set of opening positions. Earlier versions of Chess for Android already supported the option to play engine tournaments from both sides of 50 positions of the built-in book (yielding 100 games total between each engine pair). The upcoming 3.0 release will add the option to play both sides of any external book in PGN format, such as the famous " Nunn Positions " (published by GM John Nunn) or the " Silver Opening Suite " (published by Albert Silver). To use this feature, long press the notation window, and select "UCI Engine Support", followed by "Engine Tournament". Then select the "all games from both sides of external book". This will open a file navigation window, starting at the root of the SD card. Navigate into the directory and file of the desired opening suite. This

Komodo 3 for Android

Don Dailey and Larry Kaufman's Komodo version 3 is now available for Android (ARMv5TE) at UCI engines for Android . A quick one second per move tournament ended in favor of the previous version 2.03 (possibly because Don fixed the movetime command to honor the given time exactly; previous versions would sometimes use more time, which may have skewed estimates of their strength a bit). 1   Komodo32 2.03 AB  +50/-18/=32 66.00%   66.0/100 2   Komodo32 3 AB     +18/-50/=32 34.00%   34.0/100

Chess for Android 2.9.4

Image
I just released version 2.9.4 for Chess for Android, available from the Android market or as direct download . This version introduces the much requested "infinite analysis" mode for an imported UCI engine, in which the engine reports its analysis of positions without actually making moves. To enable this mode, change the level to free play, as shown in the following screenshots. If an UCI engine is imported, its analysis of the current position will appear below the board. The user can freely play through previous games or make new moves. When at the end of a game still in progress, pressing the ">" button will play the best move found by the UCI engine. Changing the level, or unloading the UCI engine will exit the "infinite analysis" mode. Although the feature may seem simple, it was actually far from straightforward to implement, also because not all UCI engines behave the same for the "go infinite" command. Please let me know if yo

DoubleCheck 1.1 Results

Lucas added the  movetime command to DoubleCheck (the stop command is still lacking) which enabled conducting a few quick 1-second per move matches to determine the strength of the engine. DoubleCheck 1.1 - Komodo32 2.03 AB  +0/-10/=0  0.00% - GreKo 8.0         +0/-10/=0  0.00% - gaviota v0.83.0.3 +0/-9/=1   5.00% - RedQueen 0.9.8    +0/-9/=1   5.00% - Jazz v444 JA      +1/-7/=2  20.00% - BikJump v2.1P     +2/-4/=4  40.00% - ZCT-0.3.2500      +4/-5/=1  45.00% - Chess for Android +6/-0/=4  80.00%

DoubleCheck 1.1 for Android

Image
I compiled Lucas Braesch's DoubleCheck 1.1 for Android (ARM) and put it on the UCI Engines for Android website . The engine works reasonably well in Chess for Android. However, because the UCI command movetime is not implemented yet, it plays almost instantaneously, making matches to determine its strength less useful at the moment.

GarboChess 3 for Andoid

Image
Jim Ablett kindly ported Gary Linscott's engine GarboChess 3 to various platforms, including Android. I also made a dynamically linked binary available at the UCI engines for Android website . As can be seen in the screenshot below, the UCI engines does not provide many options, but it plays strong. Below the results of several quick matches on a Nexus S using random book opening play, one second-per-move, 32MB hash, and 8MB tablebases cache with the 3- and 4-piece Nalimov, Gaviota, Scorpio, Robbobases endgames on SD card. GarboChess3  - Stockfish 2.1         +0/-10/=0    0.00%  - Komodo32 2.03 AB      +0/-10/=0    0.00%  - IvanHoe-Beta v999947c +0/-10/=0    0.00%  - Pepito v1.59          +3/-4/=3    45.00%  - GarboChess3 JA        +2/-3/=5    45.00%  - GNU Chess 5.07.170.7b +7/-3/=0    70.00%  - Gaviota v0.83.0.3     +7/-3/=0    70.00%  - Rotor 0.6a            +6/-2/=2    70.00%  - RedQueen 0.9.8        +9/-1/=0    90.00%  - BikJump v2.1P         +9/-0/=1    95.00%

New Top Android Engine Tournament

To test recently released versions of Android engines, I conducted a new tournament between the top UCI engines on a Nexus One using a random book opening play, one second-per-move, 32MB hash, and 8MB tablebases cache with the 3- and 4-piece Robbobases endgames on SD card. Congrats again to the Stockfish team!                        1         2         3         4         5 1 Stockfish 2.1            *     54.0-46.0 60.5-39.5 64.5-35.5 65.5-34.5 244.5/400 2 Komodo32 2.03 AB     46.0-54.0     *     46.5-53.5 52.5-47.5 66.0-34.0 211.0/400 3 Critter 1.2 32-bit   39.5-60.5 53.5-46.5     *     51.5-48.5 58.0-42.0 202.5/400 4 RobboLito 0.085e4l   35.5-64.5 47.5-52.5 48.5-51.5     *     62.0-38.0 193.5/400 5 IvanHoe-Beta 999947c 34.5-65.5 34.0-66.0 42.0-58.0 38.0-62.0     *     148.5/400

Critter 1.2 for Android

Image
Richard Vida released Critter 1.2 for various platforms, including ARM-based Android devices. Below you can see some screenshots of this UCI engine running in Chess for Android . To get a rough idea of the strength of this new engine, I conducted a few quick matches with other engines on a Nexus One using a random book opening play, one second-per-move, 32MB hash, and 8MB tablebases cache with the 3- and 4-piece Nalimov, Gaviota, Scorpio, Robbobases endgames on SD card. More games upcoming. Critter 1.2  - RobboLito 0.085e4l     3.5 - 6.5  +2/-5/=3   35.00%  - Komodo32 2.03 AB       5.0 - 5.0  +4/-4/=2   50.00%  - Stockfish 2.1          6.0 - 4.0  +4/-2/=4   60.00%  - GNU Chess 5.07.170.7b  7.0 - 3.0  +7/-3/=0   70.00%  - Gaviota v0.83          8.0 - 2.0  +7/-1/=2   80.00%  - Rotor 0.6a             9.5 - 0.5  +9/-0/=1   95.00%  - Toga II 1.4.1SE        9.5 - 0.5  +9/-0/=1   95.00%  - RedQueen 0.9.8        10.0 - 0.0 +10/-0/=0  100.00%  - BikJump v2.1P         10.0 - 0.0 +10/-0/

Komodo 2.03 available

Image
The new Komodo has been heavily tested by many chess fans, and Larry and Don had to make a few bug fixes. You can find an Android binary of the latest version 2.03 at the usual place . Quick tournament on a Nexus S: 1   Komodo32 2.03 AB  +34/-23/=43 55.50%   55.5/100 2   Komodo32 2.01 AB  +23/-34/=43 44.50%   44.5/100

More Komodo2 for Android

Another tournament between the top engines on a Nexus One, 32MB hash, one-second per move.                      1           2           3                                    1 Stockfish 2.0      ***         48.5 - 51.5 59.0 - 41.0 107.5/200 2 RobboLito 0.085e4l 51.5 - 48.5 **          50.0 - 50.0 101.5/200 3 Komodo32 2.01 AB   41.0 - 59.0 50.0 - 50.0 **           91.0/200

Komodo2 for Android

Don Dailey and Larry Kaufman released version 2 of their chess engine Komodo. You can find an ARM-based Android binary on UCI engines for Android . The new release seems stronger than the already impressive previous version. A quick one second-per-move, 32MB hash tournament on a Nexus S against Komodo1.3 resulted in 73 vs. 27 in favor of Komodo2. 1   Komodo32 2AB     +58/-12/=30 73.00%   73.0/100 2   Komodo32 1.3 JA  +12/-58/=30 27.00%   27.0/100 The new Komodo scored 48.5% against Stockfish 2.1 under the same settings. 1   Stockfish 2.1  +38/-35/=27 51.50%   51.5/100 2   Komodo32 2AB   +35/-38/=27 48.50%   48.5/100

Top Android UCI Engine Tournament

After this previous tournament , I conducted a tournament between various versions of the top engines under the same settings with more games. The results are shown below. Congrats to the stockfish team for winning this tournament!                            1 Stockfish 2.0           323.5/500 2 Stockfish 2.1           316.5/500 3 RobboLito 0.085e4l      250.5/500 4 RobboLito 0.085g3l      240.0/500 5 IvanHoe-Beta v999947c   196.5/500 6 Komodo32 1.3 JA         173.0/500