Refactoring: split files into components (not working, broken state)
[vchess.git] / TODO
CommitLineData
263eef68 1Finish rules translation in Spanish + improve existing ones
69f3d801 2Design: final touch (gain extra space on top, using space on the right)
684e1cac 3Crazyhouse: center reserves, grey if zero available, numbers superimposed
263eef68
BA
4Promotions: increase pieces sizes, better background.
5Code: use two spaces instead of tabs, everywhere.
d5dd0008
BA
6Increase code line length to 100 or more?
7(http://katafrakt.me/2017/09/16/80-characters-line-length-limit/)
edcd679a
BA
8Chat button should be more apparent after game ends (color ?)
9Reinforce security for problems upload (how ?)
c5fa5762 10
edcd679a
BA
11The mode switch between human/computer/friend (+ problem) is a mess
12(example: finished computer game, ongoing friend game, reload, friend game is unreachable)
13
14Later:
15Let choice of time control, allow correspondance play, several games at the same time
16==> need to use indexedDB instead of localStorage. Maybe with Dexie https://dexie.org/
17Each user would have a unique identifier stored in the client DB.
18Allow to cancel games (if opponent doesn't connect again)
19Identity would be browser-based: different games on smartphone, home computer, work computer... (why not ?)
20Index might still look the same, and variant page would have another tab "Games"
21==> running, and finished (which can be deleted from local memory)
22(A true analysis mode could be implemented also, to navigate in completed games --> use a button)
23Allow challenging a specific player (by his chosen name)
24But keep the random pairings as main playing way + always playing in ZEN mode,
25except when accepting an individual challenge.
8280382c
BA
26
27style menu : surligner onglet courant
28
29Interface :
c5fa5762
BA
30 - newGame: une modalBox à paramètres, timeControl, type d'adversaire ==> "new Game")
31 - friend-->renommé en 'analyse' et devenant un vrai mode analyse (on garde ces trois modes ?)
8280382c
BA
32
33problèmes : récupérer 20 ou 50 depuis le serveur, puis les afficher un par un en les analysant directement,
34comme sur le site de ProgramFOX ==> présentation unifiée échiquier avec instructions dessus et soluce cachée dessous
35
36==> il faut pouvoir faire "new Interface(variables)" pour lancer une analyse de problème sans repasser par le mode jeu...
37
38Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
39mais permettrait mode analyse (avec bouton "analyse", comme sur ancien site).
40
41espagnol : jugada ou movimiento ?
42fin de la partida au lieu de final de partida ?
81da2786
BA
43
44Bouton new game ==> human only. Indiquer adversaire (éventuellement), cadence (ou "infini")
45Mode analyse : accessible à tout moment d'une partie (HH, ou computer) terminée.
46
47Coordonnées sur échiquier: sur cases, à gauche (verticale) ou en bas (horizontale)
48
49Import game : en local dans indexedDb, affichage dans "Games --> Imported"
50
51Checkered : si intervention d'un 3eme joueur, initialiser son temps à la moyenne des temps restants des deux autres...
52
53Mode contre ordinateur : seulement accessible depuis onglet "Rules" (son principal intérêt)
54
55Hexachess: McCooey et Shafran (deux tailles, randomisation OK)
56http://www.math.bas.bg/~iad/tyalie/shegra/shegrax.html
57http://www.quadibloc.com/chess/ch0401.htm