lichess.org
Donate

Force StockFish to try and win a drawn position (to learn drawn king and pawn endgame)

I just lost a drawn king and pawn endgame (lichess.org/U2OXZwipwVlz)
So I thought this is probably as good of a time as any to learn endgames, at least the king and pawn endgame.

To see if I really understand the principles I would like to play against StockFish and see if I manage to draw the game.
The problem is, as soon as I start the game, StockFish immediatly gives up the pawn (lichess.org/KAF4eliAAyMw).

Can I change something in the settings which basically tells StockFish that it should try and win even when the game is objectively a draw?

I thought I once heard there exists such a setting (something like this chess.stackexchange.com/questions/40645/how-to-program-ruthlessly-aggressive-chess-ai). But maybe Lichess does not allow me to change it?

Thanks in advance.

Edit: And if I create such a topic anyway. Can anyone recommend how to learn endgames? Youtube videos? Some website?
The problem in that game wasn't the pawn endgame. It was with the rooks when you played 62... Rh4.
Yes, the Nalimov tablebase should be able to answer your questions.

Anyway, the thing to remember is: whenever the enemy pawn gets to the 6th like that, play your king straight back. That way when his king advances, you will be able to take the opposition (and draw).
@imsoogoodnot said in #1:
> I just lost a drawn king and pawn endgame (lichess.org/U2OXZwipwVlz)
> So I thought this is probably as good of a time as any to learn endgames, at least the king and pawn endgame.
>
> To see if I really understand the principles I would like to play against StockFish and see if I manage to draw the game.
> The problem is, as soon as I start the game, StockFish immediatly gives up the pawn (lichess.org/KAF4eliAAyMw).

SF gives up the pawn in that position because it is a drawn endgame at that point,it would be the Black King that would have to move away so that white could win the game.
I like the idea so if SF sees drawn/lost position he does not even try to win but the suggestion is that SF will always try to win
@MrPushwood said in #4:
> Yes, the Nalimov tablebase should be able to answer your questions.
>

Nalimov tablebases to learn a basic king and h-pawn vs king endgame? That's a new one.
@Kostsov_Sasha said in #6:
> I like the idea so if SF sees drawn/lost position he does not even try to win but the suggestion is that SF will always try to win
If the position is drawn or lost, then it is drawn or lost, not a win. But the idea would then be that it would try to "trick" a win. I have seen Leela sometimes play like that, although it's probably just the symmetry of a "tricky" position rather than a deliberate psychological effort.
i just saw the game u were winning until u played g4 and made it a draw !
u should've played kf4 securing the path for the pawn
Unfortunately, it is not possible to force Stockfish to make the draw came as late as possible (no on lichess and not if you don't want to write some code). But you can use other engines in the analysis panel, with the "train with engine". To use other engines on lichess, you can take a look at github.com/lichess-org/external-engine and use for example the free version of Komodo (komodochess.com), which try to delay draw. Of course, Syzygy endgame tablebases can help you to learn endgames.

This topic has been archived and can no longer be replied to.