@extends('layouts.game') @section('title', 'Dashboard') @section('game-content')

Welcome, {{ $character->name }}!

You are in {{ $character->location->name ?? 'Unknown Location' }}.

Level: {{ $character->level }} ({{ number_format($character->experience) }} / {{ number_format($character->experience_for_next_level) }} EXP)

EXP Progress: {{ number_format($character->experience_progress, 1) }}%

Quick Stats

Strength {{ $character->strength }}
Defense {{ $character->defense }}
Speed {{ $character->speed }}
Dexterity {{ $character->dexterity }}
Attack Power {{ $character->attack_power }}
Defense {{ $character->defense }}

Finances

💰 Cash
${{ number_format($character->money) }}
🏦 Bank
${{ number_format($character->bank) }}

Quick Actions

Recent Activity

@if($recentActivity->isEmpty())

No recent activity.

@else
@foreach($recentActivity as $activity)
@switch($activity->action) @case('crime_attempt') @if(str_contains($activity->description, 'success')) ✅ @else ❌ @endif @break @case('money_earned') 💰 @break @case('money_spent') 💸 @break @case('character_created') 🎉 @break @default 📝 @endswitch

{{ ucfirst(str_replace('_', ' ', $activity->action)) }}

{{ $activity->description }}

{{ $activity->created_at->diffForHumans() }}

@endforeach
@endif
@endsection