Skip to content

New variant task list

Bajusz Tamás edited this page Oct 31, 2024 · 3 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/document.ts

    • add to piece family cases
  • client/result.ts

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

    • add unique letter to C2V
  • server/const.py

    • add to VARIANTS, VARIANT_ICONS, CATEGORIES
    • add to TRANSLATE_VARIANT_NAMES
    • add to variant_display_name if need-be (multi-word, punctuation)
    • add to VARIANT_960_TO_PGN if a 960 variant
  • 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 family
  • static/fonts

External

Clone this wiki locally