@extends('layouts.app') @section('title', 'Tournament Details') @section('content')
← Back to Tournaments

{{ $tournament->title }}

Tournament details and management

Tournament Information

Game:
{{ $tournament->game->name }}
Platform:
{{ $tournament->game->platform }}
Type:
{{ ucfirst(str_replace('_', ' ', $tournament->type)) }}
Host:
{{ $tournament->host->username }}
Description:
{{ $tournament->description }}
@if($tournament->livestream_link) @endif

Tournament Stats

{{ $tournament->participants->count() }}
Participants
₦{{ number_format($tournament->entry_fee, 2) }}
Entry Fee
₦{{ number_format($tournament->prize_pool, 2) }}
Prize Pool
{{ ucfirst($tournament->status) }}
Status
Start Time
{{ $tournament->starts_at->format('M j, Y g:i A') }}
End Time
{{ $tournament->ends_at->format('M j, Y g:i A') }}

Participants ({{ $tournament->participants->count() }})

Manage Participants
@if($tournament->participants->count() > 0)
@foreach($tournament->participants as $participant)
{{ substr($participant->user->username, 0, 1) }}
{{ $participant->user->username }}
Seed #{{ $participant->seed }} • Level {{ $participant->user->level }}
@if($participant->result)
{{ ucfirst(str_replace('_', ' ', $participant->result)) }}
@endif
@endforeach
@else

No participants registered yet

@endif
@if($tournament->matches->count() > 0)

Tournament Matches

@foreach($tournament->matches as $match) @endforeach
Round Match Status Winner
{{ $match->round }} {{ $match->description ?? 'Match ' . $match->id }} {{ ucfirst($match->status ?? 'Pending') }} {{ $match->winner_id ? 'Player #' . $match->winner_id : 'TBD' }}
@endif
@endsection