@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; $totalAnswered = $correctCount + $wrongCount; $accuracy = $totalAnswered > 0 ? round(($correctCount / $totalAnswered) * 100) : 0; $nextLevelNumber = $attempt->current_level; @endphp {{ __('Level :number Complete', ['number' => $completedLevelNumber]) }} — {{ __($game->title) }} @if($brandStyle)@endif @vite(['resources/css/app.css', 'resources/js/app.js'])
{{ __('Exit game') }}

🎉

{{ __('LEVEL :number COMPLETE', ['number' => $completedLevelNumber]) }}

@if($level)

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

@endif

{{ $correctCount }}

✓ {{ __('Correct') }}

{{ $wrongCount }}

✕ {{ __('Wrong') }}

{{ $accuracy }}%

{{ __('Accuracy') }}

{{ number_format($levelScore) }}

{{ __('Points') }}

{{ __('Total Score:') }} {{ number_format($attempt->total_score) }}

@csrf