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

    @if($canBeBet) @endif $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">
    {{ trans($game->status->name()) }}
  • @foreach($gamePlayer as $player)
    Photo de profil de {{$player->user->name}}
    $player->user->id]) }} class="focus:outline-none">

    {{ $player->user->name }}

    {{ __('Play as') }} {{ $player->color }}

    @endforeach
  • @if($currentUserGame !== null) @if($game->status->equals(\App\ModelStates\GameStates\ResultValidations::class) && $currentUserGame->player_result_validation->equals(\App\ModelStates\PlayerRecognitionResultStates\Pending::class))
  • 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) }}

    @endif @elseif($currentUserGame->player_result_validation->equals(\App\ModelStates\PlayerRecognitionResultStates\Accepted::class))
  • 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->equals(\App\ModelStates\PlayerParticipationStates\Accepted::class)) @if($game->status->equals(\App\ModelStates\GameStates\PlayersValidation::class))
  • En attente des joueurs pour commencer la partie
  • @endif @if($game->status->equals(\App\ModelStates\GameStates\GameAccepted::class))
  • {{ __('Launch game') }} {{__("After launch game the option bet will be closed")}}
  • @endif @endif @php $data = json_encode(["id" => $game->id]); @endphp @if($game->status->equals(\App\ModelStates\GameStates\PlayersValidation::class) && $currentUserGame->player_participation_validation->equals(\App\ModelStates\PlayerParticipationStates\Pending::class))
  • {{__('this is an invitation to play do you want accept ?')}}
  • {{ __('Accept') }} {{ __('Refuse') }}
  • @endif @else @endif