Chrss update 4. Game 2 - Kennon wins

Well I ended up not doing so well against Kennon in the end.

To be able to finish the game though I needed to add the ability to resign from a game. So now when you are logged in you will see a "resign" button (if it's your turn to move). You'll get a javascript confirmation dialog (to make sure you didn't press it by accident) and then that's it - your opponent wins.

Couple of other minor things added, so total new features/fixes as follows:

  • can now resign from games
  • stalemate now being checked for
  • the final result of a game now appears in the rss feed