071c476fb0bd769da04699d10f53a8d08188a08d
[vchess.git] / TODO
1 Finish rules translation in Spanish + improve existing ones
2 Design: final touch (gain extra space on top, using space on the right)
3 Crazyhouse: center reserves, grey if zero available, numbers superimposed
4 Promotions: increase pieces sizes, better background.
5 Code: use two spaces instead of tabs, everywhere.
6 Increase code line length to 100 or more?
7 (http://katafrakt.me/2017/09/16/80-characters-line-length-limit/)
8 Chat button should be more apparent after game ends (color ?)
9 Reinforce security for problems upload (how ?)
10
11 The mode switch between human/computer/friend (+ problem) is a mess
12 (example: finished computer game, ongoing friend game, reload, friend game is unreachable)
13
14 Later:
15 Let 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/
17 Each user would have a unique identifier stored in the client DB.
18 Allow to cancel games (if opponent doesn't connect again)
19 Identity would be browser-based: different games on smartphone, home computer, work computer... (why not ?)
20 Index 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)
23 Allow challenging a specific player (by his chosen name)
24 But keep the random pairings as main playing way + always playing in ZEN mode,
25 except when accepting an individual challenge.
26
27 style menu : surligner onglet courant
28
29 Interface :
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 ?)
32
33 problèmes : récupérer 20 ou 50 depuis le serveur, puis les afficher un par un en les analysant directement,
34 comme 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
38 Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
39 mais permettrait mode analyse (avec bouton "analyse", comme sur ancien site).
40
41 espagnol : jugada ou movimiento ?
42 fin de la partida au lieu de final de partida ?