A Stockfish that tries to lose every game of chess

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

Moderators: hgm, Rebel, chrisw

Uri Blass
Posts: 10314
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: A Stockfish that tries to lose every game of chess

Post by Uri Blass »

1)I cannot download Andworst
I see
"The file you requested has been deleted"

2)If Andworst allow me to get a big material advantage then it is possible to force it to win against me later.

Basically I need only to get a situation when the opponent has king and 2 connected pawns and prevent the king to move so I force the pawns to beat me.
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: A Stockfish that tries to lose every game of chess

Post by CMCanavessi »

Uri Blass wrote: Sun Jul 04, 2021 12:43 am 1)I cannot download Andworst
Try here: https://easyupload.io/t5vvjs
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
Uri Blass
Posts: 10314
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: A Stockfish that tries to lose every game of chess

Post by Uri Blass »

I did not play very well in order to lose and the opponent missed draw chances by sacrificing the pawns but still could lose against it.
I understood during the game that the opponent prefer to allow me to mate in 1 and not to sacrifice the last pawns so I did not try to play the best moves to force a loss.

for example 57...Kg4 was a mistake if the target is to lose and better was 57...g1Q+ but I knew black will not play it because it is not mate in the next move.
practically I was lucky that black did not try 57...g1N that also lose in one move and I am not sure if I can win.

I did not think a lot of time in the game and with more thinking I guess I could play better in order to lose.

Edit:I think that it is possible also to force a loss only against a single pawn when the idea is to have bishop near the king when the pawn gives mate.

[pgn][Event "Computer chess game"]
[Site "DESKTOP-7QE6S12"]
[Date "2021.07.04"]
[Round "?"]
[White "àåøé"]
[Black "Andworst-0.3"]
[Result "0-1"]
[BlackElo "2000"]
[ECO "B00"]
[Opening "King's Pawn"]
[Time "06:35:44"]
[Variation "Fred"]
[WhiteElo "2400"]
[TimeControl "600+0"]
[Termination "normal"]
[PlyCount "138"]
[WhiteType "human"]
[BlackType "program"]

1. e4 f5 {(f7-f5 e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(Bb5-a4) -M1/1 0 Black resigns}
18. Nxc4 Bc2 {(Ba4-c2) -M1/1 0 Black resigns} 19. Ne3 Bb1 {(Bc2-b1) -M1/1
Black resigns} 20. Bg7 h6 {(h7-h6) -M1/1 Black resigns} 21. Nc6 h5 {(h6-h5)
-M1/1 0 Black resigns} 22. Qa4 Qa8 {(Qd8-a8 Qa4xa8+ Ke8-f7) -M2/127 0 Black
resigns} 23. Qxa8+ Kf7 {(Ke8-f7) -M1/1 0 Black resigns} 24. Raxb1 e6
{(e7-e6) -M1/1 0 Black resigns} 25. f6 g4 {(g5-g4) -M1/1 0 Black resigns}
26. g3 h4 {(h5-h4) -M1/1 Black resigns} 27. Nd8+ Ke8 {(Kf7-e8 f6-f7+
Ke8-e7) -M2/127 0 Black resigns} 28. f7+ Ke7 {(Ke8-e7) -M1/1 0 Black
resigns} 29. Nd5+ Kd6 {(Ke7-d6) -M1/1 Black resigns} 30. Qa6+ Kxd5 {(Kd6xd5
Qa6-d3+ Kd5-c5) -M2/127 0 Black resigns} 31. Nxe6 d6 {(d7-d6 f7-f8Q Kd5xe6)
-M2/127 0 Black resigns} 32. h3 Ke4 {(Kd5-e4 Qa6-c4+ Ke4-f5) -M2/127 0
Black resigns} 33. Qc4+ Kf5 {(Ke4-f5) -M1/1 0 Black resigns} 34. f8=Q+ Kg6
{(Kf5-g6 Qc4-e4+ Kg6-h5) -M2/4 0 Black resigns} 35. Nd8 Kg5 {(Kg6-g5) -M1/1
Black resigns} 36. Qcf7 d5 {(d6-d5) -M1/1 0 Black resigns} 37. Qxd5+ Kg6
{(Kg5-g6) -M1/1 0 Black resigns} 38. Qdf7+ Kh7 {(Kg6-h7) -M1/1 0 Black
resigns} 39. Q7e7 gxh3 {(g4xh3) -M1/1 0 Black resigns} 40. f3 hxg3 {(h4xg3)
-M1/1 0 Black resigns} 41. Qh8+ Kg6 {(Kh7-g6) -M1/1 0 Black resigns} 42.
Qe6+ Kg5 {(Kg6-g5) -M1/1 Black resigns} 43. Bf6+ Kg6 {(Kg5-g6) -M1/1 0
Black resigns} 44. f4 g2 {(g3-g2) -M1/1 0 Black resigns} 45. Qhe8+ Kh7
{(Kg6-h7) -M1/1 0 Black resigns} 46. Q6d7+ Kh6 {(Kh7-h6) -M1/1 0 Black
resigns} 47. Qf8+ Kh5 {(Kh6-h5) -M1/1 0 Black resigns} 48. Qh7+ Kg4
{(Kh5-g4) -M1/1 0 Black resigns} 49. Qhg7+ Kh5 {(Kg4-h5) -M1/1 0 Black
resigns} 50. Bd4 Kh4 {(Kh5-h4) -M1/1 0 Black resigns} 51. Qh6+ Kg4
{(Kh4-g4) -M1/1 0 Black resigns} 52. Rb3 Kg3 {(Kg4-g3) -M1/1 0 Black
resigns} 53. Re1 Kf3 {(Kg3-f3) -M1/1 Black resigns} 54. c4+ Kg4 {(Kf3-g4)
-M1/1 Black resigns} 55. Qg6+ Kh4 {(Kg4-h4) -M1/1 Black resigns} 56. Qgf6+
Kh5 {(Kh4-h5) -M1/1 0 Black resigns} 57. Kh2 Kg4 {(Kh5-g4) -M1/1 0 Black
resigns} 58. Rg1 Kh5 {(Kg4-h5) -M1/1 0 Black resigns} 59. Qe5+ Kg6
{(Kh5-g6) -M1/1 Black resigns} 60. Qe6+ Kh7 {(Kg6-h7) -M1/1 Black resigns}
61. Qd7+ Kg6 {(Kh7-g6) -M1/1 Black resigns} 62. Qfd6+ Kh5 {(Kg6-h5) -M1/1
Black resigns} 63. Re1 Kh4 {(Kh5-h4) -M1/1 0 Black resigns} 64. Kg1 Kh5
{(Kh4-h5) -M1/1 Black resigns} 65. Qf5+ Kh4 {(Kh5-h4) -M1/1 Black resigns}
66. Rb7 Kg3 {(Kh4-g3 Bd4-f2+ Kg3-f3) -M2/123 0 Black resigns} 67. Bf6 Kf3
{(Kg3-f3) -M1/1 0 Black resigns} 68. Rb6 Kg3 {(Kf3-g3) -M1/1 0 Black
resigns} 69. Qdd5 h2# 0-1
[/pgn]
User avatar
hgm
Posts: 27817
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: A Stockfish that tries to lose every game of chess

Post by hgm »

CMCanavessi wrote: Sun Jul 04, 2021 12:22 amWell, you can force a random mover to beat you that easily because it has no chess knowledge so you can make it do whatever you want... but with Andworst or a chess engine programmed to try to lose, it won't fall into those easy traps.
The problem is that Andworst and Badfish are not programmed for trying to get checkmated. The are programmed for getting a very negative evaluation. Which is a very poor strategy for getting yourself checkmated. They are programmed to strive for doing themselves in.
jefk
Posts: 626
Joined: Sun Jul 25, 2010 10:07 pm
Location: the Netherlands
Full name: Jef Kaan

Re: A Stockfish that tries to lose every game of chess

Post by jefk »

well i wonder if they ever heard of the chess variant
'losing chess' (different because capturing is obligatory,
and it's solved for White, losing after 1.e3). But in
this badfish variant even after 1.e3 it will be
a draw i predict (eg bf vs bf).