diff --git a/app/main.py b/app/main.py index b9c740a..f50e088 100644 --- a/app/main.py +++ b/app/main.py @@ -52,7 +52,7 @@ class AnswerResponse(BaseModel): # ----------------- TOTAL_QUESTIONS = 20 -DURATION_SECONDS = 60 +DURATION_SECONDS = 300 class Session: @@ -78,7 +78,7 @@ class Session: @staticmethod def _generate_questions(n: int) -> List[Dict]: # Build unique unordered pairs (avoid mirrored duplicates like 6×8 and 8×6) - all_pairs = [(a, b) for a in range(2, 10) for b in range(a, 10)] # a <= b + all_pairs = [(a, b) for a in range(2, 6) for b in range(a, 6)] # a <= b count = min(n, len(all_pairs)) picked = random.sample(all_pairs, count) diff --git a/static/index.html b/static/index.html index 9871051..b665b81 100644 --- a/static/index.html +++ b/static/index.html @@ -13,7 +13,7 @@

Весёлая тренировка для 2 класса

-
⏱ Время: 60 с
+
⏱ Время: 300 с
Вопрос: 0/20