While playing the game, I noticed that the transformed pieces couldn’t capture the opponent’s pieces-they could only capture pieces from their own side. I had to track down the bug, fix it, and now it’s resolved.
I have added pawn promotion, so that when a pawn reaches the opposite side of the board, it can now be promoted to any piece of the player’s choice. With that, I have completed the project. It was a really enjoyable project, and I’m already looking forward to the next one. See you :)
I added the winning when you take the king.
I’ve now added the capturing of pieces. All that’s left are the special moves for the pawn and king, and checkmate-then I’ll be finished.
I added an eventListener so you can move the figures in the game. Next I’ll edit to take the pieces. So see you :)
I’m finished with all the movements. Now I’ll add an eventListener and then we’re nearly done
I finally made this stupid bishop movement. It took 2 hours, because I was just too dumb to do it right :(
I made the Rock movement. I think the rest will go faster, but we’ll see
I just created the basic design. Now I’ll begin with the movement.