gbtami / pychess-variants

Chess variant server
https://www.pychess.org
GNU Affero General Public License v3.0
236 stars 115 forks source link

[Feature request] query string ?pieceSet=intlkakao #1507

Closed khonkhortisan closed 3 months ago

khonkhortisan commented 3 months ago

I'm loading puzzles in an iframe in Anki so that I can individually schedule their reviews with spaced repetition. 장기 / janggi is one of those games where I'd prefer to not have the pieces in a foreign language.

https://lishogi.org/study/O591ZfdK/Qck0YxmN?pieceSet=Ryoko_1Kanji https://lishogi.org/study/O591ZfdK/Qck0YxmN?pieceSet=western https://lichess.org/training/mix?pieceSet=merida https://lichess.org/training/mix?pieceSet=pixel https://www.pychess.org/puzzle/janggi?pieceSet=hanjablue https://www.pychess.org/puzzle/janggi?pieceSet=intlkakao

(I haven't yet gotten around to tracking down the janggi puzzle list, but I'm adding this feature request for lidraughts and pychess at the same time, and leaving online-go alone because it isn't necessary to understand the language nor differentiate variants)

gbtami commented 3 months ago

I don't understand what you want, sry. Piece set can be selected in board settings.

gbtami commented 3 months ago

@khonkhortisan OK, after reading it again I understand now :) I don't plan to implement it in this project though. But. This will be https://github.com/gbtami/pychess-boardimage It is already usable for variants based on "normal" checkered boards. Supporting Shogi, Xiangqi, Janggi need some further coding (support not just pieces CSS, but boards as well).