Thanks to visit codestin.com
Credit goes to github.com

Skip to content

heyskylark/azuki-tcg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • Linux: Install development headers via your package manager (Ubuntu/Debian sudo apt install libncurses-dev, Fedora sudo dnf install ncurses-devel, Arch-based sudo pacman -S ncurses or yay -S ncurses).
  • macOS: brew install ncurses.
  • Windows: Use MSYS2 (pacman -S mingw-w64-x86_64-ncurses) or another curses-compatible port such as PDCurses when targeting MSVC.

How to Build

cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug
cmake --build ./build -j

Clean

cmake --build ./build --target clean

Release Build

cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release

Card Definition Generation

Use scripts/generate_card_defs.py to convert a JSONL list of card definitions into Flecs-friendly C code and a companion header.

python3 scripts/generate_card_defs.py path/to/cards.jsonl \
  -o src/generated/card_defs.c \
  --header include/generated/card_defs.h

Each line of the JSONL file must describe a single card object containing the card's base stats, IKZ cost, element, type, and other metadata. The script validates the shape of each record before emitting both the source (lookup tables) and header (enums, structs, and accessors). Override -o or --header as needed to place the generated files elsewhere.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published