+2 -2
View File
@@ -370,14 +370,14 @@ async def complete_bubble_level(request: Request):
list_opened = (progress["current_list_opened"] if progress else 0) or 0
# 🔧 НОВОЕ (14.10.2026): очки по формуле филворда.
# Hard — фикс 110. Easy/Medium — 100 − 20×hints − 20×list + bonus.
# Hard — фикс 150. Easy/Medium — 100 − 20×hints − 20×list + bonus.
if difficulty == "hard":
if hints_used > 0 or list_opened:
raise HTTPException(
status_code=400,
detail="Hints and word list are disabled on Hard difficulty"
)
points = 110
points = 150
else:
bonus = 10 if hints_used == 0 else 0
penalty_hints = 20 * hints_used