Use the mouse and drag both the white and black pieces. W to declare Checkmate from the White Team. B to declare Checkmate from the Black Team. C to declare Check. (Note that when you declare check, you have to wait 15 seconds before resuming the game. All to make the game hard. Also, just for no craftiness, once someone declares checkmate, you CANNOT move the pieces. It is deemed as cheating. In fact, I dare you to try. Lastly, note the timer. Once that timer reaches 1200.00, the game is over.)
I used YouTube to make most of the code. Enjoy!