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 | |
12 | Next button in corr game (only if accessed from "MyGames" tab, by giving list of gids) | |
eac8fbb5 BA |
13 | |
14 | # New variants | |
15 | 8-pieces https://www.youtube.com/watch?v=XZ8K02Da7Ps&list=PLRyjH8DPuzTBiym6lA0r84P8N0HnTtZyN&index=6&t=0s | |
16 | https://www.chessvariants.com/rules/8-piece-chess | |
9618937e BA |
17 | Eightpieces : non-symmetric |
18 | Sym8pieces : symmetric (960) | |
2ebba5c0 | 19 | |
b9a5fe01 BA |
20 | Generator vatiant, called "Matrix" ? |
21 | Peces on first rank never move but generate new pieces. Pawn don't generate. | |
22 | A generator captured and replaced by a similar piece does not generate. | |
23 | King does not generate. No castling. En passant possible? | |
24 | Goal is still checkmate. | |
25 | ||
26 | Take(a)n(d)make : if capture a piece, take its power for the last of the turn and make a move like it. | |
27 | If a pawn taken: direction of the capturer. | |
28 | ||
2ebba5c0 | 29 | + Maxima, Interweave, Roccoco, Dynamo, Synchrone, Cannibal (force captures) |
de520e01 BA |
30 | |
31 | S-chess https://en.wikipedia.org/wiki/Seirawan_chess |