Create a chess game with react – Part 13 – Castling

Welcome to the series on creating a chess game using ReactJS!

In the series we create a chess game from scratch using only ReactJS. We walk through the challenges that arise and come up with ideas and solutions that improve our coding.

Packaged used:
– ReactJS (only!!)

Code editor:
– Visual Studio Code

I will refer to for articles on the game and the rules. The pieces used in the series have also been borrowed from website with their consent

The code for the series can be found on my GitHub repo:

02:01 Castling
09:16 Update Castling right

One Comment

  1. Sir in this case const direction line is showing error whenever I try to move my rook or king. It showing cannot read properties of undefined (reading 0)

Leave a Reply

Your email address will not be published.