Hello everyone. I'm in the process of writing a chess game in the console. I have reached a problem when it comes to testing whether or not the entered move is legal. I was hope that someone could give me a few pointers (no pun intended) as to the easiest way to do it.