You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

47m 2s logged

Added coordinates for the chessboard with a new function called print_coordinates. I also added a bouncer function to check if a piece is trying to move to a square that has a piece of the same color. If it’s trying to capture its own piece, it doesn’t allow the move. I implemented this by creating a new function called is_legal_move.

0

Comments 0

No comments yet. Be the first!