Finally, I can say that I’ve built chess—fully fledged chess—in Python Turtle.
I added check, checks, checkmates, and all the logic that makes them up. I also created a new function called has_legal_moves, which takes one parameter to see if the attacker is white.
In total, I defined 11 functions back to back in the Python file. It seems funny, but that’s what was needed.
Thank you, every1!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.