card-game-numerical-framework

Implement a turn-based card game calculation framework for damage, powers, and relics.

Updated May 16, 2026
One-click install
npx skills add https://github.com/haitao2016/--Skill --skill card-game-numerical-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: card-game-numerical-framework
Source: https://github.com/haitao2016/--Skill/tree/main/%40tianyi_card-game-numerical-framework
Command: npx skills add https://github.com/haitao2016/--Skill --skill card-game-numerical-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of card game numbers and systems for turn-based games like Slay the Spire, addressing issues related to damage calculation, power, and relic interactions.

Core Features & Use Cases

  • Triple-Layered Numeric System: Handles base, modified, and calculated values for consistency and predictability.
  • Determinate Tasks with Scripts: Executes tasks programmatically, reducing human error.
  • Use Case: A game developer working on a turn-based game can utilize this framework to design robust systems for damage, buff/debuffs, and relics without worrying about the intricate logic.

Quick Start

To begin, initialize the framework and start setting up the core components: data, modifiers, and resolution.

Frequently Asked Questions about card-game-numerical-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate damage and manage buffs in a turn-based card game?

To calculate damage and manage buffs in a turn-based card game, use a triple-layered numeric system that handles base, modified, and calculated values for consistent and predictable interactions.

What is the best way to structure relic interactions and power systems in card games?

The best way to structure relic interactions and power systems is by applying a turn-based game calculation framework that determinately executes tasks via scripts to reduce human error.

How do I set up numerical management for a Slay the Spire like game?

To set up numerical management for a Slay the Spire like game, initialize the framework and configure the core components: data, modifiers, and resolution.

Does this card game numerical framework handle different damage types?

Yes, this card game numerical framework handles different damage types by streamlining the structured design and calculation processes required for complex damage logic.

Why does my card game damage calculation break when combining multiple buffs and relics?

Damage calculation breaks when combining buffs and relics because the numeric system lacks a triple-layered architecture to consistently separate base, modified, and calculated values.