Add TODO for client Hall + Problems (and then: challenges + live games)
[vchess.git] / _tmp / TODO
index cb4b8a9..02787bf 100644 (file)
--- a/_tmp/TODO
+++ b/_tmp/TODO
@@ -1,3 +1,25 @@
+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...)
   --> no, not needed and impossible if everybody is offline
        ==> just store this time locally (cheating possible but...)
@@ -68,3 +90,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