@extends('layouts.student_dashboard')
@section('title', 'Break Zone')
@push('styles')
@endpush
@section('content')
{{-- 1. HERO BANNER --}}
LITTLE BUDS CODING · BREAK ZONE
Brain Break Game Zone!
Relax your mind with fun 5-minute logic games after 1 hour of learning, then jump right back into coding!
{{-- 2. STATE A: WAITING FOR 60-MINUTE UNLOCK --}}
Almost Time for Your Brain Break!
Your 5-minute Brain Break unlocks 60 minutes after you log in. Keep learning and watch the countdown!
--:--
Back to Learning
{{-- 3. STATE B: COMPLETED / EXPIRED FOR TODAY --}}
Brain Break Completed!
Wonderful! You completed your brain break for today. Now let's return to learning!
@if(($breakState['score'] ?? 0) > 0)
⭐ Today's Score: {{ (int) $breakState['score'] }} Stars
@endif
Return to Dashboard
{{-- 4. UNIFIED DIFFICULTY SELECTION SCREEN (SINGLE GAME WITH ALL 3 RANDOM PUZZLE TYPES) --}}
Number & Shape Logic
Memory Logic Match
Odd One Out Detective
Choose Your Logic Level!
All 3 puzzle types will appear randomly in one 5-minute Brain Break! Pick your challenge level and press Start Game.
{{-- 5. ACTIVE 5-MINUTE GAME ARENA --}}
Logic Mix
Level
Round #1
⭐ {{ (int) ($breakState['score'] ?? 0) }}
05:00
{{-- FULL-SCREEN AUTOMATIC COMPLETION OVERLAY --}}