2 On Game page "mconnect" events =>
3 send lastate to them (because they have the game infos) or just "your turn" - if their turn
4 remember them to send next "newmove" (or just "it's your turn") later - if not their turn
5 (=> listen for "mdisconnect" as well, and gameover, and newgame)
6 From MyGames page: send "mconnect" to all online players (me included: potential multi-tabs)
7 When quit, send mdisconnect (relayed by server if no other MyGames tab).
10 Rematch button (change colors, re-apply randomness params (which should be saved somehow somewhere))
11 --> need a bit more duplicated logic: in Game page, listen for newgame, and add a "launchGame" function
12 Will need a 'rematch' field in Game on server
14 Store sid on server in user, so that multi-accounts on same browser works better
15 (and require no more the check on names in Game in isConnected() )
18 8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s
19 https://www.chessvariants.com/rules/8-piece-chess
20 Eightpieces : non-symmetric
21 Sym8pieces : symmetric (960)
23 Generator vatiant, called "Matrix" ?
24 Peces on first rank never move but generate new pieces. Pawn don't generate.
25 A generator captured and replaced by a similar piece does not generate.
26 King does not generate. No castling. En passant possible?
27 Goal is still checkmate.
29 Take(a)n(d)make : if capture a piece, take its power for the last of the turn and make a move like it.
30 If a pawn taken: direction of the capturer.
32 + Maxima, Interweave, Roccoco, Dynamo, Synchrone, Cannibal (force captures)
34 S-chess https://en.wikipedia.org/wiki/Seirawan_chess