Skip to content

New variant task list

Bajusz Tamás edited this page May 12, 2025 · 5 revisions
  • variants.ini

    • add rules here (if it is user defined)
  • client/variantsIni.ts

    • add rules here (if it is user defined)
  • client/variants.ts

    • add configuration to VARIANTS record
    • add to noPuzzleVariants (if no puzzles)
    • add to variantGroups under category
  • client/result.ts

    • add to case 12 (if it has special win condition)
  • server/variants.py

    • add to ServerVariants (code have to be a unique letter saved to mongodb)
  • server/const.py

    • add to VARIANT_960_TO_PGN if a 960 variant
    • add to CATEGORIES
  • server/scheduler.py

    • add to MONTHLY_VARIANTS
  • static/docs

    • add variant.md page
  • static/piece

    • add directory for piece theme name
  • static/piece-css

    • to generate css files with embedded SVG piece images run python3 piece_image_to_css.py css_path (css-path can be directory or file)
  • static/preview.css

    • add background-image for primary icon
  • templates/base.html

    • add stylesheet for piece family
  • static/fonts

External

Clone this wiki locally