Capafy
開始使用
Capafy 5-Phase Lesson & Book Builder

Capafy 5-Phase Lesson & Book Builder

Universal multilingual generator for interactive lessons, full textbooks, and playable HTML5 GameQuizzes (XP, Streak Combos, Voice TTS, Trophies) in ANY language using a 5-Phase Neuro-Pedagogical cognitive ladder with zero mock data. #教育 #生產力 #遊戲

評分
需要更多評價
已售出
0
使用方式
下載

🎮📚 Capafy 5-Phase Lesson, Textbook & GameQuiz Builder (capafy-lesson-builder)

Generate complete interactive lessons, full curriculum textbooks, and playable HTML5/React GameQuizzes on ANY subject and in ANY world language using a proven 5-Phase Neuro-Pedagogical Cognitive Ladder — 100% Zero-Mock.


🌟 Overview

Traditional AI study tools either dump walls of passive text or jump straight into high-stress tests that cause learner anxiety and rapid forgetting. capafy-lesson-builder transforms any topic into a structured, stress-free cognitive ramp paired with gamified interactive exercises (GameQuiz):

  1. Modo A — Single Interactive Lesson (ChapterTopic): Rich Markdown + LaTeX theoretical lesson + 2 core concepts × 5 phases = 10 gamified questions.
  2. Modo B — Complete Textbook / Course (Book): 5 chapters, 10 topics, 20 core concepts × 5 phases = 100 balanced neuro-pedagogical questions.
  3. Modo C — Playable HTML5 / React GameQuiz (buildPlayableHtml5GameQuiz): Self-contained interactive game with ⚡ XP Progression, 🔥 Streak Combo Multipliers, ⏱️ Live Timer, 🔊 Native Voice TTS/STT, and 🏆 Diamond / Gold / Silver Trophies.

🌍 Universal Multilingual Engine (Any Language)

Request lessons, books, or playable GameQuizzes natively in:

  • English (en-US, en-GB)
  • Português (pt-AO, pt-BR, pt-PT)
  • Español (es-ES, es-LATAM)
  • Français (fr-FR)
  • Deutsch (de-DE), Italiano (it-IT), العربية (ar-SA), 中文 (zh-CN), 日本語 (ja-JP), Русский (ru-RU), and national African languages.

The evaluation engine uses Unicode codepoint Levenshtein similarity (Array.from) and Multi-Script Normalization (\p{L}\p{N}) so every alphabet and writing system is evaluated with 100% precision.


🧠🎮 The 5-Phase Neuro-Pedagogical Game Ladder

Every concept is mastered through 5 progressive game stages:

Game Stage Phase Type Cognitive & Game Mechanic Real Evaluation Algorithm Reward
✍️ Stage 1 copy_answer Active Copy & Spelling: Sensorimotor & visual imprinting with zero test anxiety. Unicode Levenshtein Similarity $\ge 80%$ + NFD normalization +10 XP
✏️ Stage 2 fill_blank Cloze Recall Quest: Hippocampal active retrieval of the core technical term in context. Diacritic-insensitive token matching +15 XP
✓/✗ Stage 3 true_false Rapid Concept Duel: Binary discrimination refuting common domain misconceptions. Strict boolean check + localized True/False options +15 XP
📋 Stage 4 multiple_choice Exam Arena: Fine discrimination among 4 plausible, homogeneous alternatives. Exact index validation (0..3) +20 XP
🤖 Stage 5 open_ai / essay Boss Challenge (AI & Voice Synthesis): Open written or spoken problem-solving applied to real-world scenarios. Voice TTS/STT + AI JSON Rubric Grader + Offline keyword coverage fallback +30 XP

🔥 Streak Combo Bonus: Consecutive correct answers trigger a live streak multiplier (+2 XP per streak level, up to +20 Bonus XP per question)!


💬 Example Prompts & Outputs

1. Generate a Playable GameQuiz on Any Topic

Prompt:

"Create a 5-phase interactive lesson and playable HTML5 GameQuiz in English on the First Law of Thermodynamics."

Output:

  • Structured theoretical guide with LaTeX formula $\Delta U = Q - W$.
  • Complete 5-phase question set (copy_answer $\rightarrow$ fill_blank $\rightarrow$ true_false $\rightarrow$ multiple_choice $\rightarrow$ open_ai).
  • Standalone playable HTML5 GameQuiz with XP bar, 🔥 Streak counter, 🔊 Listen voice button, and Trophy celebration screen.

2. Build a Complete Multilingual Textbook

Prompt:

"Cria um livro didático completo de Física da 10ª Classe em Português com 5 capítulos, 10 tópicos e 100 exercícios gamificados nas 5 fases."

Output:

  • Production-ready TypeScript/JSON Book module audited by the included Zero-Mock CLI validator (validar-livro.cjs).

🛡️ Built-in Production Quality & Zero-Mock Auditor

Every package includes:

  • references/motor-avaliacao-5-fases.ts: Full TypeScript evaluation engine (Levenshtein + Unicode Multi-Script + Bcp47 Voice Registry + AI Rubric Prompt Builder).
  • references/interactive-gamequiz-generator.ts: Playable HTML5 GameQuiz generator.
  • references/multilingual-lessons-real.ts & references/template-livro.ts: Real production lessons in English, Spanish, French, and Portuguese.
  • scripts/validar-livro.cjs: Automated CLI auditor that blocks placeholders ("...", ["A","B","C","D"]) and certifies 5-phase balance.