Create a Chess Game with ReactJS - Part 9: En passant

In this ninth part of the series we are going to create the en passant move for the pawns! The code in this video can be found on this GitHub repository: Timestamps: 0:00 Introduction 1:40 Sketching the problem 4:17 Solution 6:30 IsEnpassantMove function 11:48 Check if attacking piece is a pawn 12:55 Check if it is upper / bottom right / left 14:48 If a piece is under / above the attacked tile 16:45 Check if en passant is possible 20:45 Putting the piece in the correct position 23:58 Removing the hitted piece
Back to Top