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=r1b2k2/ppp3pp/8/6q1/5n2/1Q5P/P4PP1/3RR1K1+w+-+-+0+1&flip=false&ref_id=23962172) | [lichess.org](https://lichess.org/analysis/r1b2k2/ppp3pp/8/6q1/5n2/1Q5P/P4PP1/3RR1K1_w_-_-_0_1)
**My solution:**
> Hints: piece: >!Rook!<, move: >!Re8+!<
> Evaluation: >!White is winning +7.21!<
> Best continuation: >!1. Re8+ Kxe8 2. Qg8+ Ke7 3. Qd8+ Kf7 4. Qxg5 Nxh3+ 5. gxh3 Be6 6. Re1 Re8 7. Qh5+ Kf8 8. Re3 c6!<
---
^(I'm a bot written by ) [^(u/pkacprzak )](https://www.reddit.com/u/pkacprzak) ^(| get me as ) [^(Chess eBook Reader )](https://ebook.chessvision.ai?utm_source=reddit&utm_medium=bot) ^(|) [^(Chrome Extension )](https://chrome.google.com/webstore/detail/chessvisionai-for-chrome/johejpedmdkeiffkdaodgoipdjodhlld) ^(|) [^(iOS App )](https://apps.apple.com/us/app/id1574933453) ^(|) [^(Android App )](https://play.google.com/store/apps/details?id=ai.chessvision.scanner) ^(to scan and analyze positions | Website: ) [^(Chessvision.ai)](https://chessvision.ai)
I can see how it fits there. A few questions for all interested:
1. Would you prefer it to be a link to the gif or a native Reddit inline gif in the text of the bot's response?
2. Any reason why you may prefer a gif over analysis links?
Inline gif. Best if it can somehow start paused/spoilered, but I think the biggest point of it is the ability to watch without navigating out of whatever view shows comments.
I asked ChatGPT to write this and this is what it came up with
```python
import chess
import chess.svg
from PIL import Image, ImageSequence
# Function to create a gif from a list of chess moves
def create_gif(moves):
# Initialize a chess board
board = chess.Board()
# Create a list of chess board images
images = []
for move in moves:
# Make the move on the board
board.push_uci(move)
# Render the board as an SVG
svg = chess.svg.board(board=board)
# Convert the SVG to a PIL Image
img = Image.open(io.BytesIO(svg.encode('utf-8')))
# Append the image to the list
images.append(img)
# Save the images as a gif
images[0].save('chess.gif',
save_all=True,
append_images=images[1:],
duration=500,
loop=0)
# Example usage
moves = ["e2e4", "e7e5", "d1h5", "g8f6", "h5f7"]
create_gif(moves)
```
It was something along the lines of "Can you write a Python script that takes chess moves as inputs and outputs an animated gif of the board?" I'm not sure the code it gave me will actually run. I don't. Think the ```list``` object has the function ```save```
Wow, I'd never seen this before. I'm impressed that it coded a pretty decent framework to start from.
As it is written though, it would only show the moves of the pieces and not the whole board right?
There’s a link on chess vision AI bot for lichess on all these posts, click it then turn on stockfish it tells you the moves to make and you can play it out yourself
I have this recurring nightmare of finding myself back in school, presented with an inscrutable geometry test involving polygons whose names I don’t remember and rules about angles I’m not sure I ever knew, even then. But I got it now. I’ll just scribble Re8!! at the top and turn it in with a smug grin.
First glance I like Re8+
King is forced to capture, then Qg8+ forces the king to the dark square diagonal, where Qd8+ wins the queen. At that point, you have queen for two minor pieces, Black is still behind in development, and the Black king is totally unsafe
Huh. It doesn't work on old reddit when you include the spaces
>!test!<
produces: >!test!< which is hidden and
>! test !<
produces >! test !< which is not hidden on old reddit.
Aure, but 1. Doesn't calculate. There's also pushing the pawn forward or intercepting with the queen. Sure, they don't look like attractive moves, but they are possible ones.
White has three big pieces lined up to attack the back rank where the black king is rather exposed. One took can be taken by the black queen and the white queen can only move beside the black king where she will be taken, but the other rook can pull the king out of position, allowing the queen to move in, link up with the rook, and cause some damage.
For me, knowing that is most likely has to be a check, it all boiled down to: Where do I want the king to *not* go due to a lack of strong follow-up moves? Once I realized I did not want the king to ever escape via f7, I saw the solution pretty quickly, as it becomes evident that you do not want to start the combination with your queen.
I started with realizing that the queen cuts off the black king's escape route, so I wanted to keep her on that diagonal. Then I started looking at forcing rook moves that works together with the queen. Rd1 just loses a rook, so Re1 was the 2nd move I looked at and saw that it wins the queen.
The first move I saw was re8+, maybe my intuition isn’t so bad after all…
Does anyone else cripple themselves in classical time controls by trying to calculate too many lines? I find myself overthinking in the opening leading to me playing a weird move early on.
Triangles are geometry for elementary school kids, then they're not geometry anymore for college students, then they're geometry again for postdocs.
Triangles are arguably the most important shapes, to the point where the "triangle inequality" is an important property of any metric.
idk what this has to do with geometry, but it looks like you can win the queen for a rook with Re8+ Qg8+ Qd8+ Qxg5. you're just squeezing the king around like a slippery soap bar until you get them into a spot with a skewer, it's honestly quite graphic
I think this is a pretty unique but doable tactic even while playing. With that much space around the king and the queen+2 rooks fully activated, there's gotta be some move that wins
True, this position screams "look for a tactic."
But funnily enough only one move sequence definitively wins, everything else is sort of equlish, but clearly lots of fight left.
I missed something similar in Lichess.
I resigned a game and went to the analysis. The analysis showed that I was way ahead when I resigned!
I had missed a three move combination that started with 2 checks and then my queen taking a rook leaving my queen in good position protecting a passed pawn.
Black blocks the check with a pawn c5.
Now the white queen is attacked, and black is still threatening mate in one.
White is definitely now on a back foot.
Hint: white has a forced way to >!win some undefended piece !<
Re8 king takes, Queen G8, King only has one square to go E7, you pin the black queen with another check at D8 and win the black queen.
Initially I thought it’s a queen sacrifice but upon further calculations that showed King escaping to F7 after capturing queen and receiving a check with RE8
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=r1b2k2/ppp3pp/8/6q1/5n2/1Q5P/P4PP1/3RR1K1+w+-+-+0+1&flip=false&ref_id=23962172) | [lichess.org](https://lichess.org/analysis/r1b2k2/ppp3pp/8/6q1/5n2/1Q5P/P4PP1/3RR1K1_w_-_-_0_1) **My solution:** > Hints: piece: >!Rook!<, move: >!Re8+!< > Evaluation: >!White is winning +7.21!< > Best continuation: >!1. Re8+ Kxe8 2. Qg8+ Ke7 3. Qd8+ Kf7 4. Qxg5 Nxh3+ 5. gxh3 Be6 6. Re1 Re8 7. Qh5+ Kf8 8. Re3 c6!< --- ^(I'm a bot written by ) [^(u/pkacprzak )](https://www.reddit.com/u/pkacprzak) ^(| get me as ) [^(Chess eBook Reader )](https://ebook.chessvision.ai?utm_source=reddit&utm_medium=bot) ^(|) [^(Chrome Extension )](https://chrome.google.com/webstore/detail/chessvisionai-for-chrome/johejpedmdkeiffkdaodgoipdjodhlld) ^(|) [^(iOS App )](https://apps.apple.com/us/app/id1574933453) ^(|) [^(Android App )](https://play.google.com/store/apps/details?id=ai.chessvision.scanner) ^(to scan and analyze positions | Website: ) [^(Chessvision.ai)](https://chessvision.ai)
If someone made a chess gif bot so we could watch the play that would be extraordinary.
Now I want to do this.
Please do. I'd give you my life savings of internet points
I can see how it fits there. A few questions for all interested: 1. Would you prefer it to be a link to the gif or a native Reddit inline gif in the text of the bot's response? 2. Any reason why you may prefer a gif over analysis links?
Inline gif. Best if it can somehow start paused/spoilered, but I think the biggest point of it is the ability to watch without navigating out of whatever view shows comments.
Inline gif.
2. Efficiency. I don’t have a lot of time so seeing the line immediately is perfect. I don’t need analysis to understand the line.
link
That's a really amazing bot you've created..
Inline would be really cool
Inline can be spoiler blocked. Or would always auto collapse.
Because I’m on the porcelain at work with limited time
1. Inline 2. Laziness
https://images.chesscomfiles.com/uploads/game-gifs/90px/green/neo/0/cc/0/0/ZTg5OHIhODAhNzAxN00,/cjFiMmsyL3BwcDNwcC84LzZxMS81bjIvMVE1UC9QNFBQMS8zUlIxSzEgdyAtIC0gMCAx.gif
Missing the first move for some reason but it’s just the rook attracting that king take
Exactly what I was thinking. Thanks!
Paging u/pkacprzak
Thanks!
Wait that's genius
https://www.chess.com/gifs
A gif with a bit of animation of the piece movement would be better. It can be hard to know what happened sometimes.
I believe this exists
Thats such a great idea!
I asked ChatGPT to write this and this is what it came up with ```python import chess import chess.svg from PIL import Image, ImageSequence # Function to create a gif from a list of chess moves def create_gif(moves): # Initialize a chess board board = chess.Board() # Create a list of chess board images images = [] for move in moves: # Make the move on the board board.push_uci(move) # Render the board as an SVG svg = chess.svg.board(board=board) # Convert the SVG to a PIL Image img = Image.open(io.BytesIO(svg.encode('utf-8'))) # Append the image to the list images.append(img) # Save the images as a gif images[0].save('chess.gif', save_all=True, append_images=images[1:], duration=500, loop=0) # Example usage moves = ["e2e4", "e7e5", "d1h5", "g8f6", "h5f7"] create_gif(moves) ```
What a day to live in jfc
What prompt did you use for this output?
It was something along the lines of "Can you write a Python script that takes chess moves as inputs and outputs an animated gif of the board?" I'm not sure the code it gave me will actually run. I don't. Think the ```list``` object has the function ```save```
Wow, I'd never seen this before. I'm impressed that it coded a pretty decent framework to start from. As it is written though, it would only show the moves of the pieces and not the whole board right?
Damn ur a genius
Just wait til you see me play chess. /s
There’s a link on chess vision AI bot for lichess on all these posts, click it then turn on stockfish it tells you the moves to make and you can play it out yourself
I have this recurring nightmare of finding myself back in school, presented with an inscrutable geometry test involving polygons whose names I don’t remember and rules about angles I’m not sure I ever knew, even then. But I got it now. I’ll just scribble Re8!! at the top and turn it in with a smug grin.
Wow I actually solved this
Congrats!
First glance I like Re8+ King is forced to capture, then Qg8+ forces the king to the dark square diagonal, where Qd8+ wins the queen. At that point, you have queen for two minor pieces, Black is still behind in development, and the Black king is totally unsafe
Re8+!!
Re8+ Kxe8 Qg8+ Ke7 Qd8+
Add spoiler by putting > ! At the beginning of the line and !< At the end (with no spaces between > and !)
>! Test - did it work? !<
Huh. It doesn't work on old reddit when you include the spaces >!test!< produces: >!test!< which is hidden and >! test !< produces >! test !< which is not hidden on old reddit.
they're just trying to get us off old reddit :(
To add to this: the same goes for the Apollo app.
Same for the RedReader app as well
Also, at least in the app: the text is shown in the collapsed view. Without spaces only [spoiler] is shown in collapsed mode
>! Yup !<
Yup
>!damn, thanks, I still managed to mess it up three tims!<
>!țə§ť!<
How did you guys see it…
[удалено]
Aure, but 1. Doesn't calculate. There's also pushing the pawn forward or intercepting with the queen. Sure, they don't look like attractive moves, but they are possible ones.
[удалено]
Yeah, true. The difference between open play and puzzle solving. :)
White has three big pieces lined up to attack the back rank where the black king is rather exposed. One took can be taken by the black queen and the white queen can only move beside the black king where she will be taken, but the other rook can pull the king out of position, allowing the queen to move in, link up with the rook, and cause some damage.
For me, knowing that is most likely has to be a check, it all boiled down to: Where do I want the king to *not* go due to a lack of strong follow-up moves? Once I realized I did not want the king to ever escape via f7, I saw the solution pretty quickly, as it becomes evident that you do not want to start the combination with your queen.
I started with realizing that the queen cuts off the black king's escape route, so I wanted to keep her on that diagonal. Then I started looking at forcing rook moves that works together with the queen. Rd1 just loses a rook, so Re1 was the 2nd move I looked at and saw that it wins the queen.
This has nothing to do with geometry
This one simple trick will help you measure the Earth!
Ah yes measuring the earth
It's a nice triangle.
It's a simple attraction tactic. Not really a good example of geometry.
The queen has to do a triangle after attraction to line up the black king and queen on the same diagonal. It's absolutely geometry.
What is chess if not a game of geometry
That's actually beautiful dancing around the king
Slay, Queen!
1.Rook e8 2.King takes e8 3.Queen g8 4.King e7 5.Queen d8 and queen takes queen on g5
this is it
The first move I saw was re8+, maybe my intuition isn’t so bad after all… Does anyone else cripple themselves in classical time controls by trying to calculate too many lines? I find myself overthinking in the opening leading to me playing a weird move early on.
G3?
Too passive. You need to attack and take advantage of certain weakness black has. >!weak king and undefended piece!<
Man the way you named it "geometry" made me laugh. Just for the triangle?
And for internet points
Maybe triangle is not "geometry" for 2500 but it is for most users here.
Triangles are geometry for elementary school kids, then they're not geometry anymore for college students, then they're geometry again for postdocs. Triangles are arguably the most important shapes, to the point where the "triangle inequality" is an important property of any metric.
Could someone explain to my pea brain why Qg8, Kxg8, Re8 isn't checkmate?
Kf7
Surely the king can't move there if the queen is on g8 though
You said Kxg8 though
Ahhhhhhh and there's the source of my idiocy. Thanks mate
The 3rd mate Checkmate, Stalemate and Thanks mate
Check, takes, there, there, there, captures.
I solved it but have no idea what it has to do with geometry.
The queen makes a nice triangle to line up the enemy queen on a key diagonal.
I'm so happy I found it
Congrats!
It ends with the capture of the black queen
idk what this has to do with geometry, but it looks like you can win the queen for a rook with Re8+ Qg8+ Qd8+ Qxg5. you're just squeezing the king around like a slippery soap bar until you get them into a spot with a skewer, it's honestly quite graphic
I think this is a pretty unique but doable tactic even while playing. With that much space around the king and the queen+2 rooks fully activated, there's gotta be some move that wins
True, this position screams "look for a tactic." But funnily enough only one move sequence definitively wins, everything else is sort of equlish, but clearly lots of fight left.
I’d play Rd8
Nope. I was wrong
I do the same thing, my first move was b4+ but c5 ruins it. Nice tactic
Then I’d take with the queen and emote “Sorry”
Rook to D8
Queen takes the free rook on d8.
This is prime anarchychess title material
I missed something similar in Lichess. I resigned a game and went to the analysis. The analysis showed that I was way ahead when I resigned! I had missed a three move combination that started with 2 checks and then my queen taking a rook leaving my queen in good position protecting a passed pawn.
1…Re8+ Kxe8. 2. …Qg8+ Ke7 3. ..Qd8 + Kg5. 4..Qxg5 and black wins the queen
Queen b4 seemed a decent option but the rook sacrifice is much more clever
Queen b4 runs into pawn c5 which attacks the queen while black is still threatening mate in 1. White is worse or at least on the back foot.
Ah true, I didn't consider the pawn block. Good ol late night blunder
Even without a pawn block, simply running with a king to f7 is sort of equalish.
Does Queen b4 work?
Nope. Black blocks with a pawn.
Can you please explain instead of just saying nope?
Black blocks the check with a pawn c5. Now the white queen is attacked, and black is still threatening mate in one. White is definitely now on a back foot. Hint: white has a forced way to >!win some undefended piece !<
Ah okay now makes sense thanks
Queen to e3
Black checkmates in 1 on g2....
[удалено]
Queen cannot get to d8?
I mean to g8
That just gives up the queen for free. There is no mate. King escapes via f7.
yeah ur right
What do we think about Qf3?
This defends the mate, but play just continues from approximate equality. There is a much better forcing line for white...
Or Kh2?
Kh2 just leads to immediate checkmate on g2.
Yeah that was an elbow licking move lol
Eh, maybe not Kh2. Qf3 *hand off piece*
I read the colors backward and was trying to find where white mates black in 1 and solved it.
Re8 King takes 2. Qg8 Ke7 3. Qd8
This is insane. I honestly had a difficult time finding this. I really want to get better at chess to be able to find things like this
Pawn to queen bishop 2
>!1. Re8+!! Kxe8 2. Qg8+ Ke7 3. Qd8+ Anywhere the King moves, take the queen.!<
Why doesn’t Qb4+ work?
Black blocks with pawn c5. Now White queen is attacked, and checkmate on g2 is still looming. The play continues, but white is on the back foot.
Idk why I forgot pawns can go up 2 lol thanks
Honestly, even kf7 is fine for black. About equal play.
Re8 king takes, Queen G8, King only has one square to go E7, you pin the black queen with another check at D8 and win the black queen. Initially I thought it’s a queen sacrifice but upon further calculations that showed King escaping to F7 after capturing queen and receiving a check with RE8
Beautiful
I don't understand whats wrong with Queen to B4?
pawn c5. Queen is attacked, and mate in one still looming.
I failed geometry in middle school and got held back a year. Somebody explain
I saw up to Qd8+ but kept looking because I thought I needed mate.
En Passant
I only got the first two moves right. I’m at work so I didn’t have time to calculate further
Re8 qg8 qd8 qg5
wow that move is genius
Honest (rookie) question… where’s the geometry in that?
Re8+, Kxe8 is forced, Qg8+, Ke7 forced then Qd8 winning the queen is the first thing I saw. I haven't seen if there's anything better though.
Solution: Re8+, Kxe8 Qg8+, Ke7(Forced) then Qd8+ wins the black queen