Commit | Line | Data |
---|---|---|
b6487fb9 BA |
1 | // TODO: main playing hall, chat + online players + current challenges + button "new game" |
2 | /* | |
3 | input#modal-newgame.modal(type="checkbox") | |
4 | div(role="dialog" aria-labelledby="newGameTxt") | |
5 | .card.smallpad.small-modal | |
6 | label#close-newgame.modal-close(for="modal-newgame") | |
7 | h3#newGameTxt= translations["New game"] | |
8 | p= translations["Waiting for opponent..."] | |
9 | */ | |
10 | ||
11 | /* | |
12 | Players + challenges : == "room" home of variant (surligner si nouveau défi perso et pas affichage courant) | |
13 | joueurs en ligne (dte), | |
14 | Nouvelle partie + défis en temps réel + parties en cours (milieu, tabs), | |
15 | chat général (gauche, activé ou non (bool global storage)). | |
16 | (cadences base + incrément, corr == incr >= 1jour ou base >= 7j) | |
17 | --> correspondance: stocker sur serveur lastMove + peerId + color + movesCount + gameId + variant + timeleft | |
18 | quand je poste un lastMove corr, supprimer mon ancien lastMove le cas échéant (tlm l'a eu) | |
19 | fin de partie corr: garder maxi nbPlayers lastMove sur serveur, pendant 7 jours (arbitraire) | |
20 | */ |