Python Chess: Game Simulation and Illegal Moves
This is exciting! We’re nearly ready to start simulating a whole game of Chess. There’s just a few more components we need.
To begin, let’s first consider what information we need to encode to fully describe a move.
In standard chess move notation, we are given only the type of piece, and it’s new location. E.g. Ne2 which indicates that a knight should be moved to the square e2.