@extends('admin.layout') @section('title', 'Battle #' . $battle->id) @section('content') ← Back
Challenger
{{ $battle->challenger->battle_name ?? '—' }}
Opponent
@if ($battle->is_bot_match) 🤖 {{ $battle->bot_name }} (Lv {{ $battle->bot_level }}) @else {{ $battle->opponent->battle_name ?? '—' }} @endif
Category
{{ $battle->category->label ?? '—' }}
Status
{{ ucfirst($battle->status) }}
Final Score
{{ $battle->challenger_score }} – {{ $battle->opponent_score }}
Lives Left
{{ $battle->challenger_lives }} – {{ $battle->opponent_lives }}
XP Earned
+{{ $battle->challenger_xp_earned }}
Coins Earned
+{{ $battle->challenger_coins_earned }}

Rounds

@foreach ($battle->rounds as $r)
Round {{ $r->round_number }}: {{ $r->question->question ?? '—' }}
You: {{ $r->challenger_correct === null ? 'no answer' : ($r->challenger_correct ? '✓' : '✗') }} ({{ $r->challenger_time_ms }}ms) Opp: {{ $r->opponent_correct === null ? 'no answer' : ($r->opponent_correct ? '✓' : '✗') }} ({{ $r->opponent_time_ms }}ms)
@endforeach
@csrf @method('DELETE')
@endsection