{{-- The game itself — shared by geo_game/show (logged in) and geo_game/guest. All the logic is in /js/geo_game.js; this is only the markup it drives. $saveMode: 'student' (rounds are saved), 'other' (logged in, another role — nothing saved) or 'guest' (nothing saved, nudged to log in). $duel: Duels::forView() when the page was opened via ?duel=ID (students only). --}} @push('styles') @endpush
{{-- Setup --}}

{{ __('🌍 Найди страну на карте') }}

{{ __('Подготовка к ЕНТ по географии: страны и столицы мира.') }}

@include('games._helper_button', ['class' => 'btn-outline-secondary'])
{{ __('Регион') }}
{{ __('Что угадываем') }}
{{ __('Сложность') }}
{{ __('Время') }}

@if ($saveMode === 'student') @endif
{{-- Playing --}}

@include('games._helper_button', ['class' => 'btn-link'])
{{-- The map lives outside #geoPlay so it's drawn (and the atlas fetched) once, while the setup is shown. --}}
{{ __('Загрузка карты…') }}
{{ __('Не удалось загрузить карту. Проверьте интернет и обновите страницу.') }}
{{-- Result --}}

{{ __('Результат') }}

{{ __('Стоит повторить:') }}

    {{ __('Все ответы верны!') }}

    @include('games._helper_button', ['class' => 'btn-outline-secondary ms-1'])

    @if ($saveMode === 'student') {{ __('Сохраняем результат…') }} @elseif ($saveMode === 'guest') {{ __('Войдите') }}{{ __(', чтобы ваши результаты сохранялись.') }} @else {{ __('Результаты сохраняются только для учеников.') }} @endif

    @include('games.helpers.geo') @if ($saveMode === 'student') @include('games._duel_modal') @endif @if ($saveMode !== 'guest' && \App\Services\GroupGames::canHost()) @include('games._group_game_modal') @endif @push('scripts') @endpush