• {{ __('Game update') }}

    This information will be displayed publicly so be careful what you share.

    $game->id]) }})" class="inline-flex items-center rounded-full border border-transparent bg-indigo-600 p-3 ml-2 text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
    {{ __('Game') }} {{ trans($game->status->name()) }}
  • @foreach($gamePlayer as $player)
    status == "GameAccepted") @switch($player->player_result_validation) @case('pending') bg-yellow-100 @break @case('accepted') bg-green-100 @break @case('declined') bg-red-100 @break @default bg-blue-100 @endswitch @else @switch($player->player_participation_validation) @case('pending') bg-yellow-100 @break @case('accepted') bg-green-100 @break @case('declined') bg-red-100 @break @default bg-blue-100 @endswitch @endif px-6 py-5 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400">
    Photo de profil de {{$player->user->name}}
    @endforeach
  • @if($currentUserGame !== null) @if($game->status == "resultvalidations" && $currentUserGame->player_result_validation == "pending")
  • Le resultat du match a été renseigné :
    @if($winner !== null)
    Photo de profil de {{$winner->user->name}}

    {{$winner->user->name}} Win

    Jouant les {{$winner->color}} s

  • @else

    {{ ucfirst($gamePlayer->first()->result->value) }}

    Jouant les {{$winner->color}}

    @endif @elseif($currentUserGame->player_result_validation == "accepted")
  • Le résultat est en attente d'etre approuvé par les autres joueurs
  • @elseif($game->status == "inprogress")
  • @php $data = json_encode(["id" => $game->id]); @endphp {{ __('Give result') }}
  • @elseif($currentUserGame->player_participation_validation == "accepted" ) @if($game->status == \App\ModelStates\GameStates\PlayersValidation::$name)
  • En attente des joueurs pour commencer la partie
  • @endif @if($game->status == \App\ModelStates\GameStates\GameAccepted::$name)
  • {{ __('Launch game') }} {{__("After launch game the option bet will be closed")}}
  • @endif @endif @php $data = json_encode(["id" => $game->id]); @endphp @if($game->status == "playersvalidation" && $currentUserGame->player_participation_validation== "pending")
  • {{__('this is an invitation to play do you want accept ?')}}
  • {{ __('Accept') }} {{ __('Refuse') }}
  • @endif @else @endif