Commit | Line | Data |
---|---|---|
a97bdbda BA |
1 | # Functionality: |
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 | |
421bdcd4 | 5 | (=> listen for "mdisconnect" as well, and gameover, and newgame) |
a97bdbda BA |
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). | |
2aca9d7b | 8 | |
a97bdbda | 9 | # Misc: |
757e9fe9 BA |
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 | |
f5227527 BA |
12 | Will need a 'rematch' field in Game on server |
13 | ||
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() ) | |
eac8fbb5 BA |
16 | |
17 | # New variants | |
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 | |
9618937e BA |
20 | Eightpieces : non-symmetric |
21 | Sym8pieces : symmetric (960) | |
2ebba5c0 | 22 | |
b9a5fe01 BA |
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. | |
28 | ||
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. | |
31 | ||
2ebba5c0 | 32 | + Maxima, Interweave, Roccoco, Dynamo, Synchrone, Cannibal (force captures) |
de520e01 BA |
33 | |
34 | S-chess https://en.wikipedia.org/wiki/Seirawan_chess |