Update LICENSE + TODO
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 4 Feb 2020 09:40:30 +0000 (10:40 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 4 Feb 2020 09:40:30 +0000 (10:40 +0100)
LICENSE
TODO
client/icons_TODO [deleted file]
hexaboard_test.html [deleted file]

diff --git a/LICENSE b/LICENSE
index bdf8b76..e7936de 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2018-2019 Benjamin AUder
+Copyright 2018-2020 Benjamin AUder
 
 Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
 
 
 Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
 
diff --git a/TODO b/TODO
index d1b50d4..c5a7b0a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,10 +1,4 @@
-Afficher les observers sur page Game ? Où ?
-
 au moins l'échange des coups en P2P ? et game chat ?
 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)
-
-Click elsewhere make modal disappear (for now: Esc key works...)
 
 Use better-sqlite3 instead of node-sqlite3:
 https://www.npmjs.com/package/better-sqlite3
 
 Use better-sqlite3 instead of node-sqlite3:
 https://www.npmjs.com/package/better-sqlite3
@@ -16,36 +10,17 @@ custom directives ?
 Desktop notifications:
 https://developer.mozilla.org/fr/docs/Web/API/notification
 
 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
 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
+Import game : en local dans indexedDb, affichage dans "Games --> Imported"
+Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
 
 mat en 2 échiqueté : brnkr3/pppp1p1p/4ps2/8/2P2P2/P1qP4/2c1s1PP/R1K5
 (Bb3+ Kb1 Ba2#)
 
 
 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 ?
 
 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/
 Server:
 Later: use http2
 https://webapplog.com/http2-node/
diff --git a/client/icons_TODO b/client/icons_TODO
deleted file mode 100644 (file)
index d6ed03c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-alert-octagon
-arrow-left
-arrow-right
-
-(( check ))
-(( check-square ))
-
-chevron-left
-chevrons-left
-chevron-right
-chevrons-right
-
-(( et up / down ? ))
-
-download
-edit
-home
-mail
-log-in
-log-out
-
-(( menu ))
-
-send
-settings
-user
-x
diff --git a/hexaboard_test.html b/hexaboard_test.html
deleted file mode 100644 (file)
index 86abc2e..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title> Chess Board</title>
-</head>
-
-<body>
-
-<canvas id="myCanvas" width="560" height="560" style="border:2px solid #d3d3d3;">
-Your browser does not support the HTML5 canvas tag.
-TODO: describe chessboard ?
-</canvas>
-
-<script>
-
-// TODO: draw hexagonal board, allow click and drag pieces
-// ==> work with coordinates and current board size as a parameter
-
-var c=document.getElementById("myCanvas");
-var ctx=c.getContext("2d");
-
-for(i=0;i<8;i++)
-{for(j=0;j<8;j++)
-{ctx.moveTo(0,70*j);
-ctx.lineTo(560,70*j);
-ctx.stroke();
-
-ctx.moveTo(70*i,0);
-ctx.lineTo(70*i,560);
-ctx.stroke();
-var left = 0;
-for(var a=0;a<8;a++) {
-    for(var b=0; b<8;b+=2) {
-      startX = b * 70;
-      if(a%2==0) startX = (b+1) * 70;
-      ctx.fillRect(startX + left,(a*70) ,70,70);
-       }}
-}}
-
-let x=100, y=100, size=40;
-ctx.beginPath();
-ctx.moveTo(x + size * Math.cos(0), y + size * Math.sin(0));
-for (let side=0; side < 7; side++) {
-       ctx.lineTo(x + size * Math.cos(side * 2 * Math.PI / 6), y + size * Math.sin(side * 2 * Math.PI / 6));
-}
-ctx.fillStyle = "#333333";
-ctx.fill();
-
-var img = new Image();
-img.onload = function() {
-           ctx.drawImage(img, 0, 0, 60, 60);
-}
-img.src = "public/images/pieces/wb.svg";
-
-</script>
-
-</body>
-</html>