'update'
[vchess.git] / TODO
diff --git a/TODO b/TODO
index 3f79e69..d1b50d4 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,19 +1,53 @@
-Finish rules translation in Spanish
+Afficher les observers sur page Game ? Où ?
 
-Design: final touch (gain extra space on top, using space on the right)
-Crazyhouse: my reserve vertically on the right, opponent just below board
+au moins l'échange des coups en P2P ? et game chat ?
+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)
 
-Bug MarseilleRules turn issue in computer game (last move is wrong)
+Click elsewhere make modal disappear (for now: Esc key works...)
 
-[Site "vchess.club"]
-[Variant "Marseille"]
-[Date "2018-12-26"]
-[White "Myself"]
-[Black "Computer"]
-[FenStart "nrqkbrnb/pppppppp/8/8/8/8/PPPPPPPP/RKQBNRBN"]
-[Fen "1rq3nb/1pk1p1p1/1Np1p2p/p7/8/2P5/PP2P1PP/RK1B2B1 w1 1000 -"]
-[Result "0-1"]
+Use better-sqlite3 instead of node-sqlite3:
+https://www.npmjs.com/package/better-sqlite3
 
-1.f4 a5,h6 2.d3,c3 c6,Kc7 3.Qe3,Qe5 d6,dxe5 4.fxe5,e6 fxe6,Rxf1 5.Ng3,Nxf1 Nb6,Bg6 6.Nd2,Ne4 Bxe4,Bxd3 7.Nxd3,Nc5 Na4,Nxb6
+Canvas for hexagonal board Vue reactivity :
+https://stackoverflow.com/questions/40177493/drawing-onto-a-canvas-with-vue-js
+custom directives ?
 
-1.f2f4 a7a5,h7h6 2.d2d3,c2c3 c7c6,d8c7 3.c1e3,e3e5 d7d6,d6e5 4.f4e5,e5e6 f7e6,f8f1 5.h1g3,g3f1 a8b6,e8g6 6.f1d2,d2e4 g6e4,e4d3 7.e1d3,d3c5 c5a4,a4b6
+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/
+
+Dans variant page, "mes parties" peut toujours contenir corr + importées (deux onglets)
+En fin de partie (observée ou non), bouton "import game" en + de "download game" ==> directement dans indexedDB
+les parties par correspondance survivent 7 jours après la fin de partie
+
+mat en 2 échiqueté : brnkr3/pppp1p1p/4ps2/8/2P2P2/P1qP4/2c1s1PP/R1K5
+(Bb3+ Kb1 Ba2#)
+
+Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
+
+espagnol : jugada ou movimiento ?
+fin de la partida au lieu de final de partida ?
+
+Mode new game contre un ami comme sur lichess ?
+
+Coordonnées sur échiquier: sur cases, à gauche (verticale) ou en bas (horizontale)
+
+Import game : en local dans indexedDb, affichage dans "Games --> Imported"
+
+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
+
+Server:
+Later: use http2
+https://webapplog.com/http2-node/
+https://www.npmjs.com/package/spdy
+Express 5?