Click on a piece to move it. I'm not explaining the rules of chess. In "replay game", use the arrow keys to go back and forth. AI taking too long per move? Try phosphorous: http://phosphorus.github.io/#48290118 PLEASE DON'T CLICK UNDO WHEN THE AI IS THINKING IT CAUSES GLITCHES
Chess piece images are from chess.com. Some ideas came from Chess Programming Wiki, but all coding is by me. For those of you who are wondering, the ai is 3-ply minimax with alpha-beta pruning. Thanks to @Mole_Gaming for finding a glitch. 1/1/16-Fixed a few glitches involving pawn promotions, and game codes. Also improved ai. 9/15/15-took online play down because it wasn't working 6/21/15-shared