Add Castle Chess
[vchess.git] / TODO
diff --git a/TODO b/TODO
index f018196..9f46a8e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,50 +1,58 @@
-Email form instead of clear email:
-https://nodemailer.com/smtp/
-https://www.w3schools.com/nodejs/nodejs_email.asp
-
-Finish rules translation in Spanish + improve existing ones
-Design: final touch (gain extra space on top, using space on the right)
-Crazyhouse: center reserves, grey if zero available, numbers superimposed
-Promotions: increase pieces sizes, better background.
-Code: use two spaces instead of tabs, everywhere.
-Increase code line length to 100 or more?
-(http://katafrakt.me/2017/09/16/80-characters-line-length-limit/)
-Chat button should be more apparent after game ends (color ?)
-Reinforce security for problems upload (how ?)
-The mode switch between human/computer/friend (+ problem) is a mess
-(example: finished computer game, ongoing friend game, reload, friend game is unreachable)
-
-Later:
-Let choice of time control, allow correspondance play, several games at the same time
-==> need to use indexedDB instead of localStorage. Maybe with Dexie https://dexie.org/
-Each user would have a unique identifier stored in the client DB.
-Allow to cancel games (if opponent doesn't connect again)
-Identity would be browser-based: different games on smartphone, home computer, work computer... (why not ?)
-Index might still look the same, and variant page would have another tab "Games"
-==> running, and finished (which can be deleted from local memory)
-(A true analysis mode could be implemented also, to navigate in completed games --> use a button)
-Allow challenging a specific player (by his chosen name)
-But keep the random pairings as main playing way + always playing in ZEN mode,
-except when accepting an individual challenge.
-
-style menu : surligner onglet courant
-
-Interface :
- - un menu "jouer" avec sous menus humain, computer, (ou mieux : une modalBox à paramètres, timeControl, type d'adversaire ==> "new Game")
-                                                     --> cette "modal" doit être affichée par défaut en arrivant sur la page (si pas de chemin renseigné)
-                                                                                                                                                                                               --> ou alors non, affichage plutôt des parties en cours (liste avec diags : en 2nd sous-menu "games")
-          [ friend-->renommé en 'analyse' et devenant un vrai mode analyse (on garde ces trois modes ?) ]
- - un menu "joueurs" avec liste "P2P" des connectés (sous-menu de "Jouer" ?)
-         --> plutôt dans une sorte de "hall" avec liste des connectés ?
- - un menu "étudier" avec sous-menus règles, [analyse (également accessible depuis import partie)], problèmes
-
-problèmes : récupérer 20 ou 50 depuis le serveur, puis les afficher un par un en les analysant directement,
-comme sur le site de ProgramFOX ==> présentation unifiée échiquier avec instructions dessus et soluce cachée dessous
-
-==> il faut pouvoir faire "new Interface(variables)" pour lancer une analyse de problème sans repasser par le mode jeu...
-
-Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
-mais permettrait mode analyse (avec bouton "analyse", comme sur ancien site).
-
-espagnol : jugada ou movimiento ?
-fin de la partida au lieu de final de partida ?
+r5k1/1R5p/3N4/4pP2/1p4P1/2p5/1rP1PKP1/8 w - - 0 1
+
+Simultaneous games: view Game + Simultaneous, using component (One)Game
+Storage: just key ID => IDs of actual games (in indexedDB)
+In Hall challenge: acceptation on sender side (who launch the game when ready --> left click [which just delete if nobody registered, with confirm box])
+
+Tournaments: merge with tournament.auder.net code. At the beginning, still admin / users. Later : admin / supervisors / users
+=> recurrent tournament, eg. every sunday (late?) afternoon + wednesday evening, Discord-vote for variant?
+
+Issue: embedded rules language not updated when language is set (in Analyse, Game and Problems)
+Also: if new live game starts in background, "new game" notify OK but not first move (not too serious however)
+On smartphone for Teleport, Chakart, Weiqi and some others: option "confirm moves on touch screen"
+(=> comme pour corr) + option "confirm moves in corr games"?
+
+https://www.chessvariants.com/other.dir/fugue.html
+https://www.chessvariants.com/rules/spartan-chess
+https://www.chessvariants.com/mvopponent.dir/avalanche.html
+https://www.chessvariants.com/mvopponent.dir/hypnotic-chess.html
+https://www.chessvariants.com/mvopponent.dir/mesmer-chess.html
+
+https://brainking.com/en/GameRules?tp=47&fwa=ArchivedGame!g=8204276$i=1
+
+https://musketeerchess.net/games/cerebral/rules/rules.php
+http://history.chess.free.fr/rollerball.htm
+
+Squatter Chess: safe on last rank = win
+Companion Chess : pieces of same nature don't attack each others
+https://www.chessvariants.com/difftaking.dir/brotherhood.html
+Crossing Chess = win when the king cross half-board
+Crown Chess: place all units on move 1 (similar to Sittuyin, more freely --> in own half-board, possible pawns on 1st rank)
+Medusa Chess = Isardam
+--> à chaque déplacement, check attaques directes + découvertes autour de case de départ dans 8 directions (pas caval)
+
+Kingmaker: pawns can promote also into enemy king
+--> no king tracking, getCheckSquares + underCheck test all kings
+
+Eightkings: 8 pawns + 8 kings (non-royal until the last remains?)
+--> yes seems better, no king tracking + no underCheck/...etc when >= 2 kings
+
+https://www.jatektan.hu/_2018_vissza/2011_ig/uj2001/isakk1.html
+https://boardgamegeek.com/boardgame/18661/alapo
+Alapo is a strategy game. Each player owns twelve abstract pieces, two each of six different kinds. Round pieces move in any of the eight directions on the 6 by 6 board; square pieces move only orthogonally and triangular pieces only diagonally. Large pieces move any distance, small pieces only one field per turn.
+Opponent pieces can be eliminated by moving onto their position. The goal is to reach the opponent's base line with one of your pieces without the opponent being able to eliminate your piece in his/her next move.
+
+Maybe:
+https://www.chessvariants.com/diffmove.dir/asymmetric.html
+https://www.chessvariants.com/play/connected-chess
+
+=====
+
+fanorona https://fr.wikipedia.org/wiki/Fanorona
+Yoté https://fr.wikipedia.org/wiki/Yot%C3%A9 http://www.zillionsofgames.com/cgi-bin/zilligames/submissions.cgi/92187?do=show;id=960
+gess https://en.wikipedia.org/wiki/Gess
+weiqi (check if landed stone captures, walk on connected components), go13, go9, gomoku, reversi
+  first click show the stone, second click confirm the move?
+avalam, qoridor (wider lines in another color, vr.lines [npt static get] for this one ?), xiangqi, draughts, draughts8
+(puis quand hexaboards peut-être: hexavariants + Hex)
+Byo-yomi possible: 1h+b15,5m (15 pierres 5 minutes)