This commit is contained in:
2025-11-17 18:21:49 +09:00
parent 13ed537b23
commit 86611ce092
160 changed files with 7829 additions and 452 deletions
@@ -0,0 +1,29 @@
// packages/feature_game_mathquiz/lib/models/math_quiz_models.dart
/// 퍼즐 한 판의 데이터 구조
class MathQuizPuzzle {
/// [수정] 그리드 셀 데이터
///
/// '?'는 빈칸, ' '는 공백(빈 셀)입니다.
///
/// 예: ["?", "+", "3", "=", "8"] (5x1 그리드)
/// 예: ["?", "+", "2", "=", "5", "+", " ", "+", ... ] (5x5 그리드)
final List<String> gridCells;
/// 그리드의 가로 칸 수 (예: 5)
final int gridCrossAxisCount;
/// 유저가 채워야 할 정답 목록 (순서대로)
final List<String> solutions;
/// 유저에게 제공될 숫자/기호 버튼 옵션
final List<String> options;
MathQuizPuzzle({
// ❌ puzzleType 삭제
required this.gridCells,
required this.gridCrossAxisCount,
required this.solutions,
required this.options,
});
}