Game_Num_Basics_And_Calc

🤖 Project Vampirefall - AI Context Summary (GEMINI.md)

📌 Project Overview

Project Vampirefall is a hybrid game combining Tower Defense, Roguelike, and Looter mechanics. This repository (Server/Game_Num_Basics_And_Calc) serves as the Single Source of Truth for all numerical models, design philosophies, and technical standards.

🗺️ Directory Structure & Key Documentation

1. Design (/Design) - The “Soul”

2. Tech (/Tech) - The “Brain”

3. Standards (/Unity_Standards)

đź§  Key Concepts for AI Agents

  1. Data-Driven Design: Most logic should be configurable via tables/ScriptableObjects.
  2. Hybrid Gameplay: Always consider how a change affects both the Tower Defense aspect and the Action/RPG aspect.
  3. Performance First: Mobile optimization is a priority. Avoid heavy per-frame allocations.

đź‘® AI Rules (Must Follow)

  1. Language: All output must be in Chinese (except for code).
  2. Documentation: When adding a new document, you MUST update readme.md to include a link to it.
  3. GitHub Pages Compatibility: Formulas and Mermaid diagrams in every document must be adapted for GitHub Pages. For Mermaid, include the following script:
    <script type="module">
      import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
      mermaid.initialize({ startOnLoad: false });
      await mermaid.run({
        querySelector: '.language-mermaid',
      });
    </script>