Add the "win" diamond

Cannot handle "draw" yet.
Add example of "endGame()" function

include the script "endgame.js" and call endGame(roomid);