computerchess programs for android OS

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Tue Jul 20, 2010 11:59 am

the low search depths ( as a result of the low NPS on my device)
and the heavy pruning show sometimes significant king-attack weaknesses of the
stockfish 1.8 engine...

hiarcs is much better in that area, although on similar hardware on pc hiarcs gets outsearched by stockfish, here on these SLOW devices
it is better due to the king-attack knowledge:



[Event "average 3'"]
[Site "SCW"]
[Date "2010.07.12"]
[Round "1"]
[White "hiarcs12.1v 400mhz"]
[Black "Droidfish1.09 Apad 600mhz"]
[ECO "B49"]
[Result "1-0"]

1. e4 c5 2. Nf3 Nc6 3. d4 cxd4 4. Nxd4 e6 5. Nc3 Qc7 6. Be3
a6 7. Be2 Nf6 {"} 8. a3 Bd6 9. Qd2 Nxd4 10. Bxd4 O-O
11. Bxf6 gxf6 12. Qh6 Be5 13. O-O Bxc3 14. bxc3 Qe5 15. f4
Qxc3 16. Rad1 f5 1-0

User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Fri Jul 23, 2010 8:02 pm

the reason i bought this cheap china touch pad is, that i wanted to try out android
and touch pads BEFORE i buy the tablet pc i REALLY wish to get, that is one with tegra2 hardware from nvidia. so far, none of those developed nvidia tegra2 pads are on the market. they are all announced, but you cannot buy them.

IMO a phone is to small to surf in the net.
therefore i will not try to get a superfast mobile.

a pad is the optimal tool for computerchess on the journey.

so far i am not disapointed with my pad.

it runs droidfish and although it has only 600 mhz cpu, it makes me happy.

the cool thing about android is, how easy this OS is to be used.
no windows OS can ever be that intuitive.

i will not buy this designer food ipad from apple.
its nothing for me, its something for people who need to have the things that are IN.

the ipad is a closed system.
apple has you in its hands. thats no future for me.

User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Mon Jul 26, 2010 3:17 pm

and the story continues...

[Event "average 3'"]
[Site "SCW"]
[Date "2010.07.12"]
[Round "1"]
[White "Droidfish1.11 Apad 600mhz"]
[Black "hiarcs12.1v 400mhz"]
[ECO "B99"]
[Result "1-0"]

1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5
e6 7. f4 Nbd7 8. Qf3 Be7 9. O-O-O Qc7 10. g4 b5 11. a3 Rb8
12. Bh4 O-O 13. g5 Ne8 14. Be1 Nc5 15. h4 Bb7 16. Bg2 Qc8
17. Qe2 Bd8 18. Kb1 Ba8 19. h5 b4 20. axb4 Rxb4 21. b3 Rb8
22. g6 h6 23. e5 fxg6 24. Bxa8 Rxa8 25. hxg6 Rb8 26. Rh5
Bb6 27. Qg2 Rb7 28. b4 Bd8 29. Nce2 a5 30. exd6 Rb6 31. d7
Nxd7 32. Rxa5 Qc4 33. Ra3 Be7 34. c3 e5 35. fxe5 Nxe5
36. Qe4 Nxg6 37. Bg3 Rff6 38. Qc2 Nd6 39. Ra8+ Bf8 40. Qa2
Kh7 41. Bxd6 Qxa2+ 42. Kxa2 Bxd6 43. b5 Ne5 44. Kb3 Rb7
45. Ng3 Rff7 46. Re8 Nf3 47. Ngf5 Bc5 48. Kc4 Nxd4 49. Nxd4
Bxd4 50. cxd4 Rfc7+ 51. Kb4 Rc2 52. Rb1 Rd7 53. b6 Rxd4+
54. Ka5 Rd5+ 55. Ka6 Rd6 56. Ka7 Ra2+ 57. Kb8 Rf6 58. b7
Rf7 59. Rc8 Ra6 60. Rcc1 Re6 61. Rc7 Re8+ 62. Rc8 Re2
63. Ka7 Re6 64. Rb6 Re2 65. Rcc6 Re8 66. Rb5 Rd8 67. Rb4 h5
68. Rh4 g6 69. Rb6 Kh6 70. Rh2 Rg8 71. Rh3 Rd7 72. Rh1 Kg5
73. Rg1+ Kf5 74. Rc1 Kg5 75. Rc5+ Kf4 76. Rb4+ Ke3 77. Rc3+
Kd2 78. Rg3 Ke2 79. Rb2+ Kf1 80. Ra3 Re8 81. Rf3+ 1-0

the in meantime peter has programmed many nice and serious features for droidfish,
it now understands time controls, has a beep , you can choose between 2 players and analysis,
and and and...

more and more the prg. becomes perfect.

i will now test version 1.13.

here the history of versions, showing you an overview what peter has changed from version to version:
2010-07-25: Version 1.13
- The program icon was not shown on Android 1.5.
- Changed "Auto Swap Sides" behavior to make two player games work
better.

2010-07-24: Version 1.12
- Warn user when CPU is used in the background.
- Added chess clocks.
- Support for time controls.
- Added "force computer move" command.

2010-07-22: Version 1.11
- Nicer interface when selecting book files.
- Added option to display opening book hints for the human player.

2010-07-21: Version 1.10
- Fixed memory leak.
- Added icons to the options menu.
- Support for polyglot opening books.
- Removed book mirror code.
- Handle opening book cycles.

2010-07-20: Version 1.09
- Optimization to make program more responsive in long games.
- Show "redo" moves in move list and in PGN export.
- Implemented "goto move".

2010-07-19: Version 1.08
- Fixed crash after "edit board".
- Optimized engine <-> GUI communication.
- Fixed race condition when starting analysis.
- Improved "edit board". Now possible to set all FEN properties.
- Handle mirrored positions in the opening book code.
- Correctly handle draw by repetition after "pseudo-legal but not
legal" en passant square.
- Allow human to claim draw.
- Made engine accept draw offer if far enough behind.

2010-07-18: Version 1.07
- Handle screen orientation changes.
- Added option to play sound when computer makes a move.
- Implemented "edit board".
- Added "Auto Swap Sides" function.

2010-07-15: Version 1.06
- Made it possible to undo/redo moves while computer is thinking.
- Fixed race condition when starting computer thinking.

2010-07-15: Version 1.05
- Added "about" menu.
- Improved responsiveness in analysis mode.

2010-07-14: Version 1.04
- Better looking graphics.

2010-07-13: Version 1.03
- Implemented analysis mode, two player mode and computer vs computer
mode.
- Added a 3min thinking time level, to make it possible to play at
tournament time controls.

2010-07-12: Version 1.02
- Support for all Android versions.
- Support for install on SD card in Android 2.2.

2010-07-11: Version 1.01
- Added opening book
- Added JUnit tests
- Bug fix: Correctly handle FEN strings ending with a \n character
- Refuse to run on anything but Android 2.1, because other versions
make the program crash.

2010-07-09: Version 1.00
- Initial version

User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Mon Jul 26, 2010 3:19 pm

the next thing i will test are a few games 40/120 against my 624mhz windows mobile with
scid and robbolito engine !

Cubeman
Posts: 46
Joined: Thu Jun 10, 2010 8:03 am

Re: computerchess programs for android OS

Post by Cubeman » Fri Jul 30, 2010 3:09 am

How fast is Droidfish on your Android tablet PC?How many kn/s does it search on say on the opening position?Also there are some screenshots of DroidFish on a HTC Desire phone with the kn/s reported.Can you set up these positions and report the speed of your device?I am just trying to make some comparisons.Also I have heard that devices running the latest Android 2.2 are much faster than 2.1 or earlier.What OS does your device run?

User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Fri Jul 30, 2010 6:31 am

apad rockchip 600 mhz ~10.000 NPS android 1.5
snapdragon 1 ghz mobile ~100.000 NPS android 2.1
pc intel t7600, 2.3 ghz, 1 core, ~1.000.000 nps windows 64bit

opening position... 2' computing with analysis mode

snapdragon:
Image

would be interesting to find out the nps for the new tegra2 pads such as:
http://www.interpad.de/
it has android 2.1 with
Nvidia Tegra 2 T20 Dual ARM Cortex-A9 (1Ghz).

User avatar
thorstenczub
Posts: 593
Joined: Wed Jun 09, 2010 12:51 pm
Real Name: Thorsten Czub
Location: United States of Europe, germany, NRW, Lünen
Contact:

Re: computerchess programs for android OS

Post by thorstenczub » Fri Jul 30, 2010 7:18 am

btw: how many NPS is stockfish doing on the
Ipad ?

or the iphone ?

would be interesting to relate the benchmark NPS with the other machines/platforms.

Cubeman
Posts: 46
Joined: Thu Jun 10, 2010 8:03 am

Re: computerchess programs for android OS

Post by Cubeman » Sat Jul 31, 2010 2:54 am

I have found out some speeds of iphone/ipod touch running Glaurung 2 (Based on Stockfish 1.7.1) analysing opening position.
ipod touch 2nd gen= 14.1 kn/s
ipod touch 3rd gen= 15.0 kn/s
iphone 4= 75 kn/s

User avatar
AartBik
Posts: 145
Joined: Tue Jun 15, 2010 9:39 pm
Real Name: Aart Bik
Location: Mountain View, CA
Contact:

Re: computerchess programs for android OS

Post by AartBik » Tue Aug 03, 2010 6:12 pm

Cubeman wrote:Also I have heard that devices running the latest Android 2.2 are much faster than 2.1 or earlier.
Android 2.2 (a.k.a. Froyo) features the Dalvik JIT compiler, which may yield 2X to 5X speedup.
For my checkers engine, I see the full 5x, a little less for my chess engine.

More information on the Android 2.2 highlights page:
http://developer.android.com/sdk/androi ... ights.html

Cubeman
Posts: 46
Joined: Thu Jun 10, 2010 8:03 am

Re: computerchess programs for android OS

Post by Cubeman » Wed Aug 18, 2010 4:14 am

Chess Genius is making appearance on Andriod platform, should be quite good to measure performance of ChessGenius on different platforms.
http://www.chessgenius.com/android/index.html

Post Reply