@extends('layouts.administration-layout') @section('title', 'Administration') @section('content')

Administration Dashboard

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Current Game

@if($currentGame)

Session Name: {{ $currentGame->session_name }}

Current Palette: {{ $currentGame->palette ? $currentGame->palette->name : 'None' }}

Current State

@foreach($currentState as $state)
({{ $state->x }}, {{ $state->y }})
@endforeach
@else

No active game session.

@endif

Change Palette

@csrf

Create New Game

@csrf
@endsection