Playing against your own engine
Moderators: hgm, Rebel, chrisw
-
- Posts: 7216
- Joined: Mon May 27, 2013 10:31 am
Re: Playing against your own engine
No you can chase it away by almost any piece when not defended. And if it is defended you chase away the defenders first.
-
- Posts: 1784
- Joined: Wed Jul 03, 2019 4:42 pm
- Location: Netherlands
- Full name: Marcel Vanthoor
Re: Playing against your own engine
https://en.wikipedia.org/wiki/Outpost_(chess)
You can't chase pawns away. You can't chase a knight away if it can't be attacked by a pawn. The only way to get rid of a piece in an outpost is by trading. A piece in an outpost, and especially an advanced knight, can be so strong that it is worth it trading a rook for that knight and the pawn that defends it.
If you are defining an outpost differently in your engine and let enemy pieces be posted there, you're going to lose many a game because of it.
The definition of an outpost is a square that is defended by a pawn, and can't be attacked by an opponent's pawn.An outpost is a square on the fourth, fifth, sixth, or seventh rank which is protected by a pawn and which cannot be attacked by an opponent's pawn.
You can't chase pawns away. You can't chase a knight away if it can't be attacked by a pawn. The only way to get rid of a piece in an outpost is by trading. A piece in an outpost, and especially an advanced knight, can be so strong that it is worth it trading a rook for that knight and the pawn that defends it.
If you are defining an outpost differently in your engine and let enemy pieces be posted there, you're going to lose many a game because of it.
-
- Posts: 7216
- Joined: Mon May 27, 2013 10:31 am
Re: Playing against your own engine
I meant of course trading or capturing the pawn that defended the knight.
-
- Posts: 1242
- Joined: Sat Jul 05, 2014 7:54 am
- Location: Southwest USA
Re: Playing against your own engine
[pgn][Event "Blitz"]Henk wrote: ↑Sun May 03, 2020 4:17 pm I don't know when an outpost is harmless. I remember games in the past when my engine was putting a knight on a square on fifth row where it couldn't be attacked by a pawn or a minor and defended by a pawn. But knight was doing nothing there. Being om the wrong side of the board. Might even being trapped. Knights can be slow pieces as well. Takes much time to get them on the right squares.
[Site "LAPTOP-1FK7MTIP"]
[Date "2020.05.03"]
[Round "1"]
[White "Gebruiker"]
[Black "SkipperDev"]
[Result "1-0"]
[ECO "E00"]
[WhiteElo "1200"]
[BlackElo "1600"]
[Annotator "Ross-SF Ipman SE3"]
[PlyCount "100"]
[EventDate "2020.05.03"]
1. Nc3 !? (1. d4) (1. e4) (1. c4) (1. Nf3) 1... Nc6 (1... d5 !) 2. g3 !? (2.
d4 !? d5 3. Bf4 !) 2... Nf6 ! 3. Bg2 e5 ! 4. d3 Bd6 ?! (4... d5 !) 5. Bg5 (
5. Nf3) (5. e4) (5. a3 {SF gives 3 options..}) 5... h6 (5... O-O 6. e4 Be7 !?)
6. Bxf6 gxf6 ?! (6... Qxf6 7. Nf3 b6 !?) 7. e3 (7. Nf3 f5 !? (7... Bf8 8. Nh4
Ne7 9. O-O d6 )) 7... b6 8. Qh5 Nb4 9. O-O-O (9. Bxa8 Nxc2+ 10. Kd2 Nxa1
11. Bd5 Qe7 12. Nge2 c6 13. Be4 ) 9... c6 10. a3 Na6 11. Ne4 $6 (11. d4 $1
Qe7 12. Nf3 Bb7 13. Nh4 $1) 11... Be7 12. Nf3 d5 13. Nc3 (13. Nh4 dxe4 14.
Bxe4 Qc7 15. d4) (13. Ned2) 13... Bd7 14. Nh4 Nc7 15. Nf5 (15. f4 Qc8 16. h3
Ne6 17. Nf5 ) 15... Bf8 16. f4 Qc8 17. Bh3 Rh7 !? (17... Be6 18. Rhf1) 18.
fxe5 fxe5 19. Rhf1 Ne6 20. Rf2 Ng5 21. Rdf1 (21. g4 !?) 21... Nxh3 22. Qxh3 Qc7
23. e4 (23. Qg4 ! O-O-O 24. Qg8 ) 23... d4 24. Ne2 Be6 25. Qh5 $11 c5 26.
g4 c4 27. Rf3 (27. Nfxd4 $6 exd4 28. Nxd4 Qd6 29. Nxe6 Qxe6 30. Rf6 Qd7 31.
e5) 27... Rc8 28. Nfxd4 cxd3 29. Rxd3 exd4 30. Nxd4 $17 Bc4 31. Rc3 Be7 (31...
Qc5 ! 32. Nf5 Qe5) 32. Qf5 Rg7 33. Re1 (33. b3 Rg5 ! 34. Qf3 Bxf1 35. Rxc7
Rxc7 36. Qxf1 ) 33... Rg5 34. Qh7 (34. Qf3) 34... Rxg4 35. Nf5 Rg6 (35...
Qe5 ) 36. Qh8+ Bf8 37. h4 Rd8 (37... Qf4+ 38. Kb1 Qd2 $1) 38. b3 Qf4+ 39.
Kb2 Bb5 40. h5 Rg2 41. Nxh6 Qd6 42. Nf5 Qxa3+ 43. Kb1 Bd7 (43... Bd3 44.
Qe5+ Be7 45. Rxd3 Rxd3 46. Qb5+ Kf8 47. Qxd3) 44. Qe5+ Be6 45. Rc7 Qb4 46. Rf1
Rgd2 47. h6 Rd1+ 48. Rxd1 Rxd1+ 49. Kb2 Qa3+ 50. Kc3 Qa1# {
A Quite Complex Struggle...Congrats..} 1-0[/pgn]
This is why we love the Chess Battles...Fascinating Game...
-
- Posts: 626
- Joined: Sun May 13, 2007 9:55 pm
- Location: Bay Area, CA USA
- Full name: Mike Adams
Re: Playing against your own engine
On the Game menu in app of my engine, Pulsar Chess Engine, there is an article i wrote titled "How to beat Pulsar" in 5 languages. In Spanish the article name became "How to defeat Pulsar" and in German "How to Win".
iOS https://apps.apple.com/us/app/pulsar-ch ... d839640447
Android: https://play.google.com/store/apps/deta ... e&hl=en_US
Mike
iOS https://apps.apple.com/us/app/pulsar-ch ... d839640447
Android: https://play.google.com/store/apps/deta ... e&hl=en_US
Mike