-# Functionality:
-On Game page "mconnect" events =>
- send lastate to them (because they have the game infos) or just "your turn" - if their turn
- remember them to send next "newmove" (or just "it's your turn") later - if not their turn
- (=> listen for "mdisconnect" as well, and gameover, and newgame)
-From MyGames page: send "mconnect" to all online players (me included: potential multi-tabs)
- When quit, send mdisconnect (relayed by server if no other MyGames tab).
-
-# Misc:
-Rematch button (change colors, re-apply randomness params (which should be saved somehow somewhere))
- --> need a bit more duplicated logic: in Game page, listen for newgame, and add a "launchGame" function
-Will need a 'rematch' field in Game on server
-
-Store sid on server in user, so that multi-accounts on same browser works better
-(and require no more the check on names in Game in isConnected() )
-