"The game is for two players sharing a computer and is pretty straightforward in controls.
Unfortunately, draw by repeating the same moves 3 times couldn't be implemented.
Checkmates and stalemates are triggered when all a players moves fail but I couldn't figure a way to detect this and inform the user." - Author's description
Play here (Browser)