@extends('admin.layouts.home') @section('title', 'Manage Games') @section('content')

Manage HTML5 Games

Add New Game
Games List
@if (session('success'))
{{ session('success') }}
@endif
@forelse($games as $game) @empty @endforelse
ID Thumbnail Title Category Age Status Featured Multiplayer Plays Actions
{{ $game->id }} @if ($game->thumbnail_url) {{ $game->title }} @else
@endif
{{ $game->title }} {{ $game->category->name }} {{ $game->min_age }}+ @if ($game->is_active) Active @else Inactive @endif @if ($game->is_featured) Featured @else No @endif @if ($game->is_multiplayer) Yes @else No @endif {{ number_format($game->plays_count) }}
@csrf @method('DELETE')
No games found
{{ $games->links('pagination::bootstrap-5') }}
@endsection