Class_generator/test-team-wizard.html
StillHammer c7f48405a7 Add diagnostic homework planning documentation
- Create comprehensive DIAGNOSTIC_HOMEWORK_PLAN.md
- Document current situation with SBS2/SBS8 mixed class
- Define diagnostic homework structure (1 text + 3 comp + 3 prod questions)
- Outline exam prep strategy phases (diagnostic → drills → mock exams)
- Specify data collection goals and success metrics
- Plan AI-powered analysis and personalized prep modules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 19:59:59 +08:00

75 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Team Wizard Battle - Test</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
#game-container {
width: 100%;
height: 100vh;
}
</style>
</head>
<body>
<div id="game-container"></div>
<script type="module">
import Module from './src/core/Module.js';
import EventBus from './src/core/EventBus.js';
import TeamWizardBattle from './src/games/TeamWizardBattle.js';
// Create simple event bus
const eventBus = new EventBus();
// Mock content with sentences
const content = {
sentences: [
{ english: "I eat apples", chinese: "我吃苹果" },
{ english: "She drinks water", chinese: "她喝水" },
{ english: "He runs fast", chinese: "他跑得快" },
{ english: "We study English", chinese: "我们学习英语" },
{ english: "They play games", chinese: "他们玩游戏" },
{ english: "You are happy", chinese: "你很高兴" },
{ english: "I like reading", chinese: "我喜欢读书" },
{ english: "She speaks Chinese", chinese: "她说中文" },
{ english: "We love music", chinese: "我们爱音乐" },
{ english: "The cat sleeps", chinese: "猫在睡觉" },
{ english: "Birds fly high", chinese: "鸟儿飞得高" },
{ english: "Dogs bark loudly", chinese: "狗叫得很响" }
]
};
// Initialize game
const container = document.getElementById('game-container');
const game = new TeamWizardBattle('team-wizard-test', {
eventBus,
content
}, {
container
});
// Initialize the game
game.initialize().then(() => {
console.log('✅ Team Wizard Battle initialized successfully!');
}).catch(err => {
console.error('❌ Error initializing game:', err);
});
// Global reference for debugging
window.game = game;
window.eventBus = eventBus;
</script>
</body>
</html>