Man vs machine - how to beat chess engine

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

Moderators: hgm, Rebel, chrisw

zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Man vs machine - how to beat chess engine

Post by zullil »

overlord wrote:On my smartphone I have 32 bit version of Critter. I don´t know if it is the same version as for normal pieces. Maybe author could tell more.
This may explain the weak play by Critter I commented on earlier. I thought you were playing against Critter running 3 threads on a real cpu.
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

I have the same opinion. I played against Critter 1.4 32 bit on smartphone. I have one draw against Houdini 1.5a on 3 cores of PC and many draws against much weaker engines like Cheng, Fritz 5.32 or Fritz 6. I have never said that I am able to beat top engines on something like i7 with good book...definitely no...
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Man vs machine - how to beat chess engine

Post by zullil »

overlord wrote:I have the same opinion. I played against Critter 1.4 32 bit on smartphone. I have one draw against Houdini 1.5a on 3 cores of PC and many draws against much weaker engines like Cheng, Fritz 5.32 or Fritz 6. I have never said that I am able to beat top engines on something like i7 with good book...definitely no...
OK, now I understand better. Thanks.
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

[Event "Blitz:5'"]
[Site "Microsoft"]
[Date "2012.06.10"]
[Round "?"]
[White "Kvicala, Miroslav"]
[Black "Komodo 3"]
[Result "1/2-1/2"]
[ECO "B01"]
[WhiteElo "2035"]
[PlyCount "79"]

1. e4 d5 2. exd5 Qxd5 3. Nc3 Qa5 4. d4 Nf6 5. Nf3 Bf5 6. Bc4 e6 7. Bd2 c6 8.
Qe2 Bb4 9. a3 Nbd7 10. Ne5 Nxe5 11. dxe5 Nd5 12. Nxd5 Bxd2+ 13. Qxd2 Qxd2+ 14.
Kxd2 cxd5 15. Bd3 g6 16. Rac1 Ke7 17. h4 Rhc8 18. h5 Rc5 19. hxg6 hxg6 20. c3
Rd8 21. Bxf5 gxf5 22. Ke3 Rg8 23. g3 Rg4 24. Rh4 Rcc4 25. Rxg4 fxg4 26. Re1
Re4+ 27. Kd2 Rxe1 28. Kxe1 b5 29. Kd2 f6 30. exf6+ Kxf6 31. Ke3 e5 32. f4 Kf5
33. fxe5 Kxe5 34. Kd3 a5 35. Ke3 a4 36. Kd3 Ke6 37. Kd4 Kd6 38. Ke3 Ke5 39. Kd3
Ke6 40. Ke3 1/2-1/2

[Event "15 min. game"]
[Site "Microsoft"]
[Date "2012.04.14"]
[Round "?"]
[White "Kvicala, Miroslav"]
[Black "Cheng 1.07"]
[Result "1/2-1/2"]
[ECO "D66"]
[WhiteElo "2028"]
[PlyCount "55"]

1. d4 d5 2. Nf3 Nf6 3. c4 e6 4. Nc3 Be7 5. Bg5 O-O 6. e3 Nbd7 7. Rc1 c6 8. Bd3
h6 9. Bh4 dxc4 10. Bxc4 b5 11. Bd3 b4 12. Ne4 Nxe4 13. Bxe7 Nxf2 14. Bxd8 Nxd1
15. Kxd1 Rxd8 16. Rxc6 Bb7 17. Rc7 Bd5 18. b3 Bxf3+ 19. gxf3 Nf6 20. Bc4 a5 21.
Ke2 Rd6 22. Rc1 Ne8 23. Rc5 Nf6 24. Rc2 Nd7 25. Rc7 Nf6 26. Rc5 Nd7 27. Rc7 Nf6
28. Rc5 1/2-1/2

[Event "30 min. game"]
[Site "Microsoft"]
[Date "2012.04.13"]
[Round "?"]
[White "Kvicala, Miroslav"]
[Black "Komodo 3"]
[Result "1/2-1/2"]
[ECO "D03"]
[WhiteElo "2028"]
[PlyCount "201"]

1. d4 d5 2. Nf3 Nf6 3. Bg5 h6 4. Bxf6 exf6 5. Nbd2 c6 6. c3 Bf5 7. Qb3 Qd7 8.
e3 Na6 9. Be2 Be7 10. O-O O-O 11. Rfe1 Rab8 12. Nf1 Rfe8 13. Ng3 Bg6 14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2-1/2
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

[Event "5 min. game"]
[Date "2012.06.11"]
[White "Kvicala, Miroslav"]
[Black "Komodo 3"]
[Result "1/2-1/2"]
[WhiteElo "2035"]


{256MB, Mirekbook.ctg} 1. e4 d6 2. d4 g6 3. Nc3 Bg7 4. Be3 Nf6 5. f3 c6 6. Qd2
O-O 7. Nge2 b5 8. a3 Nbd7 9. g4 Nb6 10. Ng3 a5 11. Bh6 Bxh6 12. Qxh6 b4 13.
axb4 axb4 14. Rxa8 Nxa8 15. Nd1 Qb6 16. c3 bxc3 17. bxc3 e5 18. Ne3 Qa5 19.
Nef5 Qxc3+ 20. Kf2 Bxf5 21. Nxf5 gxf5 22. Qg5+ Kh8 23. Qxf6+ Kg8 24. Qg5+ Kh8
25. Qf6+ Kg8 26. Qg5+ Kh8 27. Qf6+ 1/2-1/2
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

My first draw in Sicilian defence ever...

[Event "10 min. game"]
[Site "Microsoft"]
[Date "2012.06.11"]
[White "Kvicala, Miroslav"]
[Black "Komodo 3"]
[Result "1/2-1/2"]
[WhiteElo "2035"]


{256MB, Mirekbook.ctg} 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 g6 6.
Be2 Bg7 7. Be3 O-O 8. f3 Nc6 9. Qd2 d5 10. exd5 Nxd5 11. Nxd5 Nxd4 12. Bxd4
Qxd5 13. Bxg7 Qxd2+ 14. Kxd2 Kxg7 15. Rhd1 Bd7 16. c3 Bc6 17. Ke3 Rfc8 18. Rd2
e5 19. Rad1 Ba4 20. Rc1 Rd8 21. Bd1 Rxd2 22. Kxd2 Rd8+ 23. Ke1 Bc6 24. Bc2 f5
25. Rd1 Rxd1+ 26. Bxd1 Kf6 27. Kf2 Ke6 28. Bb3+ Bd5 29. Bxd5+ Kxd5 30. Ke3 a5
31. b3 b5 32. Kd3 h6 33. Ke3 Kd6 34. Kd3 Kc5 35. Ke3 Kd5 36. Kd3 a4 37. Ke3 Kd6
38. Kd3 Kc5 39. Ke3 Kc6 40. Kd3 Kd6 41. Ke3 Kd5 42. Kd3 h5 43. h3 h4 44. Ke3
Kc5 45. Kd3 Kd6 46. Ke3 Kd5 47. Kd3 g5 48. Ke3 a3 49. Kd3 Kc6 50. Ke3 Kd6 51.
Kd3 Kd5 52. Ke3 Kc5 53. Kd3 Kc6 54. Ke3 Kb6 55. Kd3 Kc7 56. Ke3 Kc6 57. Kd3 Kd5
58. Ke3 e4 59. fxe4+ fxe4 60. Ke2 Ke5 61. Ke3 Kf5 62. c4 bxc4 63. bxc4 Ke5 64.
c5 Kd5 65. c6 Kxc6 66. Kxe4 Kc5 67. Kd3 Kd5 68. Kd2 Ke6 69. Ke2 Ke5 70. Ke3 Kf5
71. Kf3 g4+ 72. hxg4+ Kg5 73. Ke3 Kxg4 74. Kf2 Kf4 75. Ke2 Ke4 76. Kd2 Kd4 77.
Ke2 Kc3 78. Kd1 Kd3 79. Ke1 Kc4 80. Ke2 Kd4 81. Kd2 Kd5 82. Kd3 Ke5 83. Ke3 Kf5
84. Kf3 Kg5 85. g4 h3 86. Kg3 h2 87. Kxh2 Kxg4 88. Kg2 Kf4 89. Kf2 Ke4 90. Ke2
Kd4 91. Kd2 Ke4 92. Ke2 Ke5 93. Ke3 Kd5 94. Kd3 Ke5 95. Kc3 Ke4 96. Kb3 Kd3 97.
Kxa3 Kc4 98. Kb2 Kd5 99. a4 Kd4 100. a5 Kd5 101. a6 Kc6 102. a7 Kb7 103. a8=R
1/2-1/2
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

[Event "5 min. game"]
[Date "2012.06.12"]
[White "Kvicala, Miroslav"]
[Black "Cheng 1.07 ja"]
[Result "1-0"]
[WhiteElo "2035"]

1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Nxe4 Bf5 5. Ng3 Bg6 6.
h4 h6 7. Nf3 Nd7 8. h5 Bh7 9. Bd3 Bxd3 10. Qxd3 e6 11. Bd2 Ngf6 12. O-O-O Bd6
13. Ne4 Nxe4 14. Qxe4 Nf6 15. Qe2 Qb6 16. Rhe1 O-O 17. g4 a5 18. g5 hxg5 19.
Bxg5 Nxh5 20. Ne5 Bxe5 21. dxe5 g6 22. Rh1 Qa6 23. Qf3 a4 24. Rxh5 a3 25. b3 f6
26. Bxf6 Qd3 27. Rxd3 gxh5 28. Qg3+ Kf7 29. Qg7+ Ke8 30. Qe7# 1-0
User avatar
Kyodai
Posts: 325
Joined: Wed Apr 25, 2012 3:39 pm

Re: Man vs machine - how to beat chess engine

Post by Kyodai »

Thanks for showing us your games Miroslav! :)

First of all - I think the ratio wins/losses/draws in your games are totally uninteresting. The central issue is that you show the weaknesses of the programs. It's possible that some games are what we call "trial and error" i.e. losses improved by new games - but for me that is also irrelevant.

During the years amateur players have showed games in this forum. I have actually posted some myself, several years ago. My interest in playing these computers has re-awoken - but I find it dull when repeating games just for the sake of getting some points. Nevertheless I like people who try to play themselves vs the engines - f.e. I remember fernando and kurt utzinger among others, trying out the engines here.

My impression is that the less you know about chess - the weaker player you are - the more you tend to think it's almost impossible for amateur chess players to score points vs top engines. This is nonsense of course. Just look at Miros games and you find the weaknesses. Finding them is a value in itself and might contribute to better engines.

Personally I play with a huge book - self made Powerbook and several GBs in gross - finding pleasure afterwards noticing that the variation actually was played by rubinstein 1922.... 8-)
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

Thanks for your comment. As you said even amateur player still has some chance to achieve good results against engines although it is more and more difficult. I believe that there is effective way how can almost everybody make some win or draw against engines. I would conclude it in following points:
1. Play a lot of games against engine. After let´s say 50-100 games it is clear where human can resist for a longer time and where loses very soon and very badly.
2. In step two eliminate the openings and lines wgich are two shapr and too difficult or unbalanced.
3. Start playing lines where at least 6 pawns (better is 7) stays on the board. The best is if the structure of pawns is symmetrical and without significant weaknesses. Generally said human chances of getting draw are increasing if material is reduced - exchanges should be also symmetrical (nothing like rook + two pawns for bishop and knight or so on).
4. Let´s say that we found openings and lines which are proper for human player (Caro-kann, French defence, Russian game, some lines in Kings indian defence or exchanged queens gambit). For example I will achieve solid position but after 40 moves engine gets edge and after another mistake beats me... I will analyse the and can see what was wrong and slightly analyse plans that could be played and why...next time I will do better...OK if the book has many moves (I am not speaking about deep book up to move 25-35, in this case you are not playing against engine but against book,). you can see similar motives and structures. If you will get same position you will play faster and definitely better at least for next few moves. Even if the position is not the same but similar you still made some progress because you improved your understanding of position...for example: I didn´t see some tactical hit...well next time I will care about that in the same or similar positions.
5. Another important factor is king safety - if you are playing against computer you have to care about your king as much as possible...it is big difference compared to playing against other people.
6. Human biggest advantage is that learn from our mistakes and improve not only our general chess skills but especially skills in some very specific positions or patterns.
7.If you would liket win there is the best chance to create positions with blocked center where human has space and attacking possibilities against king and computer has to start active counterplay on the queen´s side.
overlord
Posts: 198
Joined: Sun Jun 03, 2012 6:46 pm
Location: Trinec, Czech Republic

Re: Man vs machine - how to beat chess engine

Post by overlord »

[Event "5 min. game"]
[Site "Microsoft"]
[Date "2012.06.13"]
[Round "?"]
[White "Kvicala, Miroslav"]
[Black "Zappa Mexico II"]
[Result "1/2-1/2"]
[ECO "C42"]
[WhiteElo "2035"]

{256MB, Mirekbook.ctg} 1. e4 {0} e5 {0} 2. Nf3 {1} Nf6 {0} 3. Nxe5 {1} d6 {0}
4. Nf3 {1} Nxe4 {0} 5. Nc3 {1} Nxc3 {0} 6. dxc3 {0} Be7 {0} 7. Be3 {1} Nc6 {0}
8. Qd2 {1} O-O {0} 9. O-O-O {1} Ne5 {0} 10. Nxe5 {1} dxe5 {5} 11. Qxd8 {5} Rxd8
{0} 12. Bc4 {5} Bf5 {5} 13. Rxd8+ {21} Rxd8 {0} 14. Rd1 {2} Rxd1+ {11} 15. Kxd1
{0} b6 {12} 16. Bd5 {23} g5 {15} 17. c4 {34} Kg7 {5} 18. b3 {11} g4 {7} 19. g3
{6} Kf6 {4} 20. Kd2 {6} Ba3 {0} 21. Bc6 {12} a5 {4} 22. Bd5 {7} Bb4+ {8} 23.
Kd1 {5} Ke7 {4} 24. Bc6 {27} f6 {8} 25. Bd5 {1} Kd6 {3} 26. Bg2 {13} Bc5 {4}
27. c3 {18} Bxe3 {6} 28. fxe3 {0} e4 {5} 29. b4 {17} c5 {5} 30. a3 {5} Ke5 {0}
31. Kd2 {16} Bd7 {6} 32. Bf1 {2} f5 {7} 33. Be2 {3} Ba4 {7} 34. Bd1 {10} Bxd1 {
0} 35. Kxd1 {1} a4 {9} 36. Kd2 {1} Kf6 {7} 37. Ke2 {1} Ke6 {7} 38. Kd2 {1} Kf7
{7} 39. Ke2 {1} Kf6 {7} 40. Kd2 {1} h5 {4} 41. Ke2 {1} Kg5 {4} 42. Kf2 {1} h4 {
8} 43. Ke2 {2} h3 {6} 44. Kf2 {1} Kf6 {3} 45. Ke2 {1} Ke6 {1} 46. Kf2 {2} Kd7 {
2} 47. Ke2 {1} Kc6 {6} 48. b5+ {7} Kd7 {2} 49. Kf2 {3} Kd6 {3} 50. Ke2 {1} Ke7
{5} 51. Kf2 {1} Kf8 {6} 52. Ke2 {0} Kf7 {5} 53. Kf2 {0} Kg6 {1} 54. Ke2 {0} Kh6
{1} 55. Kf2 {0} Kg6 {3} 56. Ke2 {0} Kh6 {1} 57. Kf2 {0} Kg6 {1} 1/2-1/2

[Event "5 min. blitz (+3s/move for man)"]
[Site "Microsoft"]
[Date "2012.06.12"]
[Round "?"]
[White "Kvicala, Miroslav"]
[Black "Fritz 6"]
[Result "1/2-1/2"]
[ECO "C42"]
[WhiteElo "2035"]

{256MB, Mirekbook.ctg} 1. e4 {0} e5 {0} 2. Nf3 {2} Nf6 {0} 3. Nxe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