is this move legal???

Sort:
riccardomirandola
Hello everybody, I can’t wrap my head around this: as I’m playing with black pieces I can’t understand why can’t the black pawn on h3 take with en passant. Black to move, thank you for your help or for any advice. Here’s the png: [White "Silas the Strong"]
[Black "riccardomirandola"]
[BlackElo "725"]
[Result "*"]
[Round "?"]
[Event "Computer Game"]
[Date "2024.02.25"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"]
[Site "Chess.com iPhone"]
[WhiteElo "1650"]

1. e4 c6 2. d4 d5 3. e5 c5 4. Nc3 Nc6 5. dxc5 f6 6. Nf3 Bg4 7. Be3 Nxe5 8. Nxe5 Bxd1 9. Bb5+ Qd7 10. Bxd7+ Kd8 11. Rxd1 fxe5 12. Be6 d4 13. Ne4 Kc7 14. Bd2 Rd8 15. O-O d3 16. cxd3 Rxd3 17. Ba5+ b6 18. Rxd3 bxa5 19. Rd7+ Kc6 20. f3 Nf6 21. Rd8 Nxe4 22. fxe4 g6 23. Rc8+ Kb5 24. Bd7+ Kc4 25. Rcxf8 Rxf8 26. Rxf8 Kxc5 27. Rf2 Kd4 28. Bc6 Kc5 29. Rc2+ Kd4 30. Kf2 Kd3 31. Rc3+ Kd4 32. Bd5 e6 33. Rc4+ Kd3 34. Bxe6 Kd2 35. Rc5 a4 36. Rxe5 Kd3 37. Kf3 Kc2 38. Ra5 Kxb2 39. Rxa4 Kc3 40. Rxa7 Kd4 41. Kf4 h6 42. Rd7+ Kc3 43. Bf7 g5+ 44. Kf5 Kb2 45. e5 h5 46. Kxg5 h4 47. Rd4 h3 48. g4 {*} {*}
VenemousViper

When you take en passant, the pawn you are taking must be immediately one square to the right or one square to the left of your pawn.

 

Here en passant is not possible because the black pawn is not right next to white pawn ; it is one square up.

 
riccardomirandola
@EnPassantAvalanche thank you, your explanation is definitely helpful
oliwia823

Great post. It was much needed. Love your simplistic style of explanation. hctra