This commit is contained in:
2025-12-15 18:18:17 +09:00
parent 03a7ed2ef2
commit 4c2c98de8a
216 changed files with 9831 additions and 725 deletions
@@ -91,7 +91,8 @@ class _MathQuizLobbyScreenState extends State<MathQuizLobbyScreen> {
// 1. 컨트롤러 생성 및 새 게임 시작 (제너레이터 호출)
final controller = MathQuizController();
controller.startNewGame(level, session.userId, session.userName);
controller.setUserInfo(session.userId, session.userName);
controller.startNewGame(level);
if (mounted) {
await Navigator.push(
@@ -6,8 +6,8 @@ import '../controllers/math_quiz_controller.dart';
import '../models/math_quiz_difficulty.dart';
import '../models/math_quiz_models.dart';
class MathQuizScreen extends StatefulWidget {
const MathQuizScreen({super.key});
class MathQuizScreen extends BaseGameScreen {
const MathQuizScreen({super.key,super.onNextGame});
@override
State<MathQuizScreen> createState() => _MathQuizScreenState();