Before testing it, I should tell you how to play. You will start a game, then, it will provide you a code, which you can send to your friend, allowing him to get into the same game with you. If your friend started the game, ask him for the game key to play with him. When you’re creating a new game, you can simply ignore the field keyword. Also, the users must have different names.
The result, you can see here: /projetos/chessMate/.
About playing alone… well, I’ll see if next weekend I “teach” my machine to play a bit of chess. I don’t have the ambition of doing it inteligent or able to really learn new tactics, but I do want it to be able to move pieces in a not random way, deciding some steps, and protecting some pieces. Soon, I hope.