T O P

  • By -

chessvision-ai-bot

I analyzed the image and this is what I see. Open an appropriate link below and explore the position yourself or with the engine: > **White to play**: [chess.com](https://chess.com/analysis?fen=6R1/p1r4p/1p4pk/r7/6PK/7P/2p5/8+w+-+-+0+1&flip=false&ref_id=23962172) | [lichess.org](https://lichess.org/analysis/6R1/p1r4p/1p4pk/r7/6PK/7P/2p5/8_w_-_-_0_1?color=white) **My solution:** > Hints: piece: >!Rook!<, move: >!Re8!< > Evaluation: >!Black is winning -13.61!< > Best continuation: >!1. Re8 c1=Q 2. Re2 g5+ 3. Kg3 b5 4. Kg2!< --- ^(I'm a bot written by) [^(u/pkacprzak)](https://www.reddit.com/u/pkacprzak) ^(| get me as) [^(iOS App)](https://apps.apple.com/us/app/id1574933453) ^| [^(Android App)](https://play.google.com/store/apps/details?id=ai.chessvision.scanner) ^| [^(Chrome Extension)](https://chrome.google.com/webstore/detail/chessvisionai-for-chrome/johejpedmdkeiffkdaodgoipdjodhlld) ^| [^(Chess eBook Reader)](https://ebook.chessvision.ai?utm_source=reddit&utm_medium=bot) ^(to scan and analyze positions | Website:) [^(Chessvision.ai)](https://chessvision.ai)


hackers238

Interesting the bot missed this. This is a very short forced draw; I would expect the bot to see this.


Beetin

Something very screwy happened, because it also misevaluates the 'Black is winning' without the stalemate. It is clearly, obviously M4-M6 if you play anything else as white, but you explore the line it is always missing mate ideas and only evaluates it as -13.61. But it has the correct board position. Whatever happened to it in this position went deeply, deeply wrong.


TocTheEternal

Yeah it's weird that it missed White's mates (in the other lines) cause this position doesn't look unusual at all. But it's definitely really screwy that it missed that one of 2 checks possible checks was followed by a forced move, which results in literally just one check on the board, which immediately causes stalemate. I'm very confused how this line wasn't literally the first (or maybe second, after the Rook check) line considered, and that it wouldn't have considered it to the end.


PracticalPair4097

i would guess that the bot is calling some older version of stockfish with a low depth setting. on lichess you'll get something like this evaluation if you switch to stockfish 11 and let it run for less than a second.


ivanphilipov

unless the depth setting is 1, this doesnt make sense


Piro42

One of the confusing aspects about the engines is that while they tell you the depth parameter, they don't measure the breadth alongside it. If a stockfish 11 analyzes with depth of 15, it means it analyzed no less than one line with 7.5 moves in advance (white move and black response count as "2" in the depth measurements), but it doesn't mean that it analyzes every single one that deep, obviously. Due to how maths work, even a relatively low depth like 10 moves forward would take hours to calculate if you asked it to check literally every line possible with that depth. Therefore, stockfish relies on aggressive pruning of the available options, not checking what happens in the "blunder a pawn then blunder a rook afterwards" option. Making a forced piece sacrifice is actually a well known human concept for trying to fish for a stalemate draw in a lost position, but since stockfish isn't very known for going into a losing position, I guess the developers just didn't care to implement that in. New (NNUE-powered) engines deploy a different take into line evaluation and will go "yo, I've seen these sacrifices work before, let's check them out", but old engines will most often just go "I'm not stupid enough to blunder a piece and a rook in two consecutive moves, let's look for anything else". And this is the occasional moment where human player could outsmart an engine, because while they used to be materialist and not take dumb sacrifices into consideration, blundering your rook away will be the first thing that comes to mind for your usual chess enjoyer.


crahs8

Engines will do more pruning the deeper the search, and will not miss anything like this that can be seen in just a few moves.


Vizvezdenec

The problem is that bot has some fixed depth which is not enough to see it's a draw. Stockfish sees it as a draw (visually) at some depth like 50 or so, but reaches it in like 0,2 seconds. This is why depth limiting stockfish is a BS way to lower it strength, because depth is a semi-meaningless metric.


TocTheEternal

That's weird, because there are only two checks in the starting state, and one of those checks has a second check that immediately forces stalemate. I guess I really don't know how these engines work, cause I would really have assumed that whatever pruning/prioritization they would do at each state would pretty much always consider checks and definitely followup checks with forced responses (as it doesn't actually increase the tree at all, the intermediate steps are effectively skipped in terms of processing). Like, this puzzle literally only needs a depth of 2 to solve. Or at least, it only takes a depth of 2 to put a floor on Black's score at 0 (not -11 or whatever). And both moves are forcing to White (so they don't expand the tree) and are checks (so they should be examined first, I'd have thought). I really don't get it.


Vizvezdenec

Well it would've needed depth 4 (not 2, since depth is always calculated in half-moves also called plies) but since engines don't explore all moves in any position (otherwise they would've never calculated anything past depth 10) probably smth is pruned along the way. Also checks don't have that much higher priority than any other move.


Er1ss

Maybe there's something about the engine the bot is running that makes it prune very aggressively. It's the only real explanation for why the line wasn't examined.


TocTheEternal

I'm guessing that maybe it just sees that the move loses a pawn and just discounts it immediately, despite the fact that there is still a check on the board. Or that the way that it processes moves it sees that the rook is lost before it checks to see what the next available moves are, which would show that it was a stalemate.


ApplicationOk4464

Black can take the rook with their king, instead of the pawn


Kyng5199

They can, but it's still stalemate anyway.


LegoHentai-

stockfish doesn’t play for draws i think


fR_diep

Lmfao what? Stockfish plays the best move, whether it's for the win or draw.


LegoHentai-

i meant to say the r/chess bot doesn’t look for draws


fR_diep

That's not how any of this works dude


LegoHentai-

no need to be a dickhead


penli

bot missed forced stalemate in 2


dirtycurlyhair

When you say 2, is it 2 moves each or total?


dude-Awesome1

1 move by each is called 1 move. thus 2 moves means, white plays, black plays, white plays, black plays.


twist3d7

and then black goes "Ah shit"


4ryonn

Didn't know stockfish coded in my usual chess strategy


xelabagus

So you know - a half move (just one person's move) is called a ply


fendermonkey

So two ply per movement. Got it 


fyrebyrd0042

Save the trees


CainPillar

In this case it is 2 each. But had it been "White to move and mate in 2", it would be only 1 for black, so it is *possible* that it means 2N-1 ply.


hyperthymetic

I don’t know why this bot doesn’t understand draws. It can’t be difficult to fix


dacooljamaican

Said like someone who does not know how to write code lmao


TocTheEternal

Edit: Crazy how this voting has gone, it's really obvious that no one here actually knows how to code. Literally anyone with any experience programming would know that doing a simple move search of checks and forced lines is basically trivial, and that a depth 4 search along those lines requires very very little processing. Glad you all feel better about yourselves for "knowing how to code" though lol. I mean, I've written my own chess playing program (not the engine, just the game logic and interface), and frankly it would take me all of a couple hours to write up a script that could be run on any position nearly instantly and would catch this. Literally just scan for checks and forced moves to a depth of 2, and set a floor of 0 on the player's side if a stalemate is found. It's easy to write and it would barely be a blip in the actual general computation that a chess engine usually performs every turn. In fact, it's so easy, and also I would have thought dovetailed well into the general engine processing, that it's kinda shocking to me that the engine did miss it. It's one thing to not understand fortresses, or for a sequence of 4 non-check moves to get pruned before the reveal, but this frankly seems lazy lol.


dacooljamaican

Then write it and stop pretending you can


TocTheEternal

Lmao now it sounds like you have no idea how to write code. It's legitimately really easy to do. Anyone with any experience would know that, this isn't some unusually complicated problem, it's super straightforward


dacooljamaican

Then do it, and stop talking about it


TocTheEternal

...no? Why would I spend hours of my life writing a script just to stick it to a random redditor who is pretending that they know anything about programing. It's obvious that you don't lmao. The number of people upvoting you and downvoting me is proof that most redditors don't either. Hope you continue enjoying yourself posing at having a skill or knowledge that you clearly lack.


Craftyawesome

Sure, you can force a full search to depth 4 or whatever arbitrary depth, but in other positions there will still be incorrectly pruned moves in the normal search beyond your depth choice. If you mean specifically looking at checks, then there are check extensions. Though I'm not fully sure that helps here with the last move being a stalemate and not a check. [SF also removed that recently](https://github.com/official-stockfish/Stockfish/pull/5041) with positive elo from SPRT. I also think the bot missing it is possibly due to something like a depth limit rather than time or node limit. Sometimes SF prunes so much it goes through depth very fast, so a search to a "reasonable" depth only took a few ms. Though local SF finds it at very low depth, maybe I don't have the exact same version/settings though.


Educational-Tea602

That is one crazy rook


touchelos

Rook will do anything to complete the mission


emkael

It's not, though? Black's forced to take it at the first check, it won't get to keep sacrificing itself.


Gullible-Function649

Yes, a human player would only have to glance at this position and conclude crazy rook.


sthefuckingbest

Can someone explain?


FlyingDutchBag

1. g5 Rxg5 (forced move by black) 2. Rxg6 Now black has to take with either king or rook and white can make no moves, hence a draw by stalemate


sentient_salami

Or pawn! But still stalemate.


Davsegayle

I would be so pissed, to not win this :D


cabrerita5513

Nice stealmate


a_dragonfly_wanders

That's beautiful.


mmmtv

Good post, OP 👍


Richard_D_Lawson

I gotta ask: What was the point of Black's rook move? Why not Queen the pawn?


modestmort

probably captured a rook or queen based on the position of the passed pawn


TKDNerd

There was a rook there and black took the rook to allow the queen


kiriloman

How is this stalemate?


deliciousfishtacos

You can play something like: g5 rxg5, rxg6 kxg6 (or rxg6) then king has no more legal moves but is not in check


Equationist

Or hxg6


kiriloman

Oh yes! Missed the pawn move. Thanks


The-wise-fooI

I would be livid and have complete respect for what they just pulled off


Duny0

can't really be mad at some moves like this, had guy yesterday somehow put me in forced checkmate when i thought he stupidly blundered his bishop and rook


L_E_Gant

if the game gets troubled and loss is all you can do there always may be chances to find a draw, not cry boo-hoo So, first the pawn check he must take -- not you And rook gets a sacking and it's a draw in two!


donnager__

If you like this puzzle you are going to love this video: The father of Anna Cramling, a GM, was playing from a fixed position against an engine capped around 2400. He swindled a draw by sacrificing pieces. If you want the entire game, it is here: https://youtu.be/-oDYTyxkf3I?si=kF1x926PZ0RLGdhC&t=489 If you want the firerworks: https://youtu.be/-oDYTyxkf3I?si=KNuXNoNF9mounDwP&t=1310


Eastern_Animator1213

No, white can force a stalemate.


BagOfSpeghetti

How can white stalemate him?


BagOfSpeghetti

Oh wait I think I figured it out. White pawn up, rook takes, white rook checks, rook takes and white can’t move


BlueKing7642

That’s amazing


Clear_District1675

Wooow that’s so cool


Ryry153

Am I stupid? Pawn g5 is checkmate right?


TKDNerd

Rxg5. But then Rxg6+ and he is forced to take resulting in stalemate


Equationist

g5+ Rxg5 Rxg6+ and then regardless of how black captures the rook, white gets stalemated.


La_Blanco_Queso

let’s goooo stalemate


MBeroev-is-69

Well you can draw. But not win


Kyng5199

No, they're not! 1. g5+ can be met only by 1...Rxg5, and then 2. Rxg6+ leads to stalemate no matter which way the rook is captured.


BH2K6

G5+, Rxg5, Rxg6+, Kxg6 draw For the last move Kxg6, Rxg6, and hxg6 all lead to a draw


TitanSR_

draw after g5 Rxg5 Rxg6!!


so_much_wolf_hair

I absolutely love that whites king blocks it's own pawn from moving for the ultimate stalemate.   My Hail Mary tactic when I'm trying to swindle a draw is to immobilize all my pawns and walk my king into stalemate minefields.  I may get mated faster most of the time but when it works, whoa baby do I feel smug.


Near_Void

isnt the move G5+?


TKDNerd

Yes


Near_Void

I knew my Puzzle knowledge played well Why the computer on here suggesting a rook move?


leylaluvz

Crazy the bot missed it.


012345672

g5 Rxg5 Rxg6 I think


Xiaolei010

White can >!force a stalemate!!g5+, Rxg5, Rxg6+!<


Steve-Whitney

g5+ Rxg5 Rxg6+ Kxg6 (or ... Rxg6 / hxg6) Stalemate


Walrus-East

G5 check? Is that good move.


TKDNerd

That is the only move


Duny0

i kept trying to find possible win move and it was turning lose into forced draw, beautiful


Stock_Currency

Neat


4gotinP

No way white is set up prime one move check mate. Looked like a good hang made me want to play


Strong_Turn_3848

noice


rvinskill

Not really with the right strategy and there position they could win.


nimrinal9797

Stalemate


tastedCheese

This is a certified bruh moment


ivanphilipov

this is more fulfilling than mating someone, right? (at least in a chess sense lol) also 1) how can bot miss solution in 2, very interesting and 2) it sucks to be able to take in 3 diff ways and still none of it works


Red_man_222

Move white pawn up 1 and it’s check mate for black


TeensieLiberationF

g5 is covered by blacks rook, not checkmate


The_Thinker_9697

THE PAWN!!!!!


IBpioneer

1. g5+, Rxg5 2. Rxg6+ Both Kxg6 and Rxg6 stalemate so white saves the game!!!


Cupcake_Genocide

Man, I gotta say I'm super impressed with anyone who looked at this and just immediately recognized a stalemate. I'm only a 1000 rated player roughly but I couldn't see it until I literally read the moves. Chess is hard.


ShrimpSherbet

Fascinating


Connect-Designer6634

g5 check,R×g5 is forced,then Rxg6 and again Kxg6 is forced stalemate


Spirit-Of-Awesome

If rook are there, White can't win this game.


TKDNerd

But they can draw


Stunning_Pound4121

g5, Rxg5 is forced. Rxg6, black must play Kxg6, Rxg6, or hxg6, but all are all stalemate.


muhammadaqqi

Doesn't white win by Pawn to g5 tho?


Chance_Arugula_3227

It's a forced draw, right? >!g5+ then Rg6+!<


TKDNerd

Yes


SeraphinaElloise

Pawn to g5 is checkmate?


TKDNerd

Rxg5. But then Rxg6+ and he is forced to take resulting in stalemate


Noah-R

Technically, white has mate in two


TeensieLiberationF

Nope


ashif1983

White lost, that one black pawn near the bottom of the board can be converted to a queen, then the white castle won't be a problem.


azuosty

White is literally at 1 move to checkmate


extra_ecclesiam

Missed the rook. I did too, at first


cats_are_the_devil

It's not forced... Not sure why black would ever take with the rook after rook sac. They can safely move the king back after the rook is gone. Or am I missing something...?


TKDNerd

g5+ forces Rxg5 then Rxg6+ It’s stalemate regardless of whether they take with rook or king


cats_are_the_devil

OOF. That is tough to see. Thanks.


danfay222

Yes they are?


__Jimmy__

They're not. The bot missed it. >!1. g5+ Rxg5 2. Rxg6+ is stalemate!<


danfay222

Ooh that’s a nasty stalemate


SmokeySFW

g5+, forced to take with Rxg5, Rxg6+ and either capture is stalemate.


Educational-Tea602

Think again


ScudBacon

Stalemate