X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=_tmp%2FTODO;h=86d36fe3310d22c3913be506682c7682a03797e0;hb=93d1d7a7e07e7bad94318d3cb4cbe906d85bd811;hp=868d4d3ee645183b87bf53caa1fa86b70c043c30;hpb=00f2759e16ec73fa1ecd0254a9c9018530d71892;p=vchess.git diff --git a/_tmp/TODO b/_tmp/TODO index 868d4d3e..86d36fe3 100644 --- a/_tmp/TODO +++ b/_tmp/TODO @@ -1,6 +1,31 @@ +--> correspondance: stocker sur serveur lastMove + uid + color + movesCount + gameId + variant + timeleft +fin de partie corr: supprimer partie du serveur au bout de 7 jours (arbitraire) +// TODO: au moins l'échange des coups en P2P ? et game chat ? + +// TODO: surligner "hall" (menu) si nouveau défi perso (reçu) et pas affichage courant +// de même surligner "my games" si c'est à nous de jouer dans une partie (corr) +// ==> myGames componentn + Game component must listen for "new move" events + +Hall + problems : similar pages, with "New game[problem]" button +with a list of variants. +--> but display all challenges (and all problems) +Possible filter: write a few variant names, to keep only these. +--> In settings ! + Use better-sqlite3 instead of node-sqlite3: https://www.npmjs.com/package/better-sqlite3 +Canvas for hexagonal board Vue reactivity : +https://stackoverflow.com/questions/40177493/drawing-onto-a-canvas-with-vue-js +custom directives ? + +Desktop notifications: +https://developer.mozilla.org/fr/docs/Web/API/notification + +Think about this: +https://alligator.io/vuejs/component-communication/ +https://alligator.io/vuejs/global-event-bus/ + CRON task remove unlogged users, finished corr games after 7 days, individual challenges older than 7 days tell opponent that I got the move, for him to start timer (and lose...) @@ -73,3 +98,7 @@ Mode contre ordinateur : seulement accessible depuis onglet "Rules" (son princip Hexachess: McCooey et Shafran (deux tailles, randomisation OK) http://www.math.bas.bg/~iad/tyalie/shegra/shegrax.html http://www.quadibloc.com/chess/ch0401.htm + +Inspiration for refactor: +https://github.com/triestpa/Vue-Chess/blob/master/src/components/chessboard/chessboard.js +https://github.com/gustaYo/vue-chess