@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp {{ __('Play Game') }} — {{ __($game->title) }} — {{ $tenant->name }} @if($brandStyle)@endif @vite(['resources/css/app.css', 'resources/js/app.js'])
{{ __('Back to site') }}
🧠 {{ __('Word Game') }}

{{ __($game->title) }}

{{ __($game->description) }}

{{ $game->total_levels }}

{{ __('Levels') }}

{{ $game->total_levels * $game->questions_per_level }}

{{ __('Questions') }}

{{ __(':seconds sec', ['seconds' => $game->time_per_question]) }}

{{ __('Per Question') }}

{{ $game->max_wrong_answers }}

{{ __('Max Wrong') }}

{{ __('How to Play') }}

  1. 1 {{ __("You'll see a word split into scrambled parts.") }}
  2. 2 {{ __('Drag the parts into the correct order, then press Check Answer.') }}
  3. 3 {{ __('You have :seconds seconds per question and :wrong wrong answers before Game Over.', ['seconds' => $game->time_per_question, 'wrong' => $game->max_wrong_answers]) }}
  4. 4 {{ __('Build a streak for bonus points — difficulty rises each level!') }}
@csrf @guest

{{ __("Play without an account — we'll ask for your name again if you'd like to appear on the leaderboard.") }}

@endguest @if($errors->any())

{{ $errors->first() }}

@endif
🏆 {{ __('View Leaderboard') }}