'update'
[vchess.git] / TODO
diff --git a/TODO b/TODO
index 9543164..e95894c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,45 +1,58 @@
-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)
+Game.vue: detecter coups invalides ? --> ou au moins le tour : move.mine = true/false
 
-Click elsewhere make modal disappear (for now: Esc key works...)
+PROBABLY WON'T FIX:
+Embedded rules language not updated when language is set (in Analyse, Game and Problems)
+If new live game starts in background, "new game" notify OK but not first move.
 
-Use better-sqlite3 instead of node-sqlite3:
-https://www.npmjs.com/package/better-sqlite3
+"FreeBoard", re-using a lot of Board logic, but with SVG (empty) board + SVG (empty) reserves.
+Will be used for variants with custom non-rectangular board (Hex, at least)
+Or, with other board shapes (see greenchess.net for example)
 
-Canvas for hexagonal board Vue reactivity :
-https://stackoverflow.com/questions/40177493/drawing-onto-a-canvas-with-vue-js
-custom directives ?
+Merge Orda + Empire + Hoppelpoppel + Newzealand getSlideNJumpMoves() into base_rules.js
+=> allow to simplify getPawnMoves in RoyalRace (and some getXMoves in Shatranj)
 
-Desktop notifications:
-https://developer.mozilla.org/fr/docs/Web/API/notification
+Option "free placement" in Hidden
 
-Think about this:
-https://alligator.io/vuejs/component-communication/
-https://alligator.io/vuejs/global-event-bus/
+#New variants:
+Chessplode
+Tablut
 
-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
+New stealthbomb mode, explode when capture enemy bomb (always on pawn)
 
-mat en 2 échiqueté : brnkr3/pppp1p1p/4ps2/8/2P2P2/P1qP4/2c1s1PP/R1K5
-(Bb3+ Kb1 Ba2#)
+https://brainking.com/fr/GameRules?tp=128 Massacre Chess
 
-Importer des parties : nécessite de parser le PGN produit (possible, un peu pénible)
+PizzaKings https://www.chessvariants.com/unequal.dir/pizza-kings.html
+https://en.m.wikipedia.org/wiki/Chess_with_different_armies#Pizza_Kings%5B11%5D_(John_Lawson)
 
-espagnol : jugada ou movimiento ?
-fin de la partida au lieu de final de partida ?
+Coin Chess
+https://msoworld.com/product/chess-variants/
+Background: Unknown inventor
+Rules:
+Normal rules apply except for the introduction of a coin (or counter)
+Black starts by placing the coin on any unoccupied square. Play then continues with players alternating turns as in normal chess.
+On their turn, a player makes any legal move but may not move onto the square where the coin has been placed. The player may move over (but not onto), the coin square.
+The player ends their turn by leaving the coin where it stands or moving the coin to a different unoccupied square.
+The coin can never be placed on an occupied square, and therefore cannot be used to protect a piece from capture
+A player wins by checkmating the opponent. Note that the coin can be used to remove escape squares from the king.
 
-Mode new game contre un ami comme sur lichess ?
+https://www.chessvariants.com/other.dir/nemoroth.html :-)
 
-Coordonnées sur échiquier: sur cases, à gauche (verticale) ou en bas (horizontale)
+Chagagne ^^
 
-Import game : en local dans indexedDb, affichage dans "Games --> Imported"
+Power Sharing
+Rules: Two adjacent pieces of the same color can share their movement. Adjacency includes diagonals, sharing ends once pieces are separated, and sharing can be used to check, capture pieces, and promote pawns.
+(+ pawns and king ?!)
+TheGoatMan Discord https://discord.com/channels/686736099959504907/687076968046395410/836274318480113686
 
-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
+https://www.chessvariants.com/rules/canoness-chess
++ https://discord.com/channels/686736099959504907/686736100416553055/841432354676670524
 
-Inspiration for refactor:
-https://github.com/triestpa/Vue-Chess/blob/master/src/components/chessboard/chessboard.js
-https://github.com/gustaYo/vue-chess
+Non-Prise chess (from list http://www.pathguy.com/chess/chessvar.html)
+
+Discord / littleplotkin:
+The idea is that everytime you move a piece, that piece changes in value
+each piece transformation has an equally likely chance of happening
+--> retrouver ref chessvariants, la mentionner, et de-randomizer
+
+Recycle: pions posés sur 1ere rangée !
+Teleport: pawns falling on rank 8?!