$ds=array (
'g_id' => 1726475579,
'g_bet' => 0,
'g_players_current' => 0,
'g_players_full' => 5,
'g_time' => 1726475579,
'g_status' => 'W',
);$data=array (
'state' => 1,
'players' => NULL,
'ltime' => 1726475594,
'cards' => NULL,
'qty' => NULL,
'current_player' => 0,
'split' => 0,
);
Multiplayer BlackJack game
Placing bets
Insufficient funds, top up your wallet
Make insurance bet?
Your choice
$i = 0; ?>
foreach ($game->data['cards'] as $card): ?>
if ($i == 0 && !$finish_game): ?>
else: ?>
endif ?>
$i++; ?>
endforeach ?>
$x_arr = array(50, 253, 483, 710, 915); ?>
$y_arr = array(320, 385, 405, 385, 320); ?>
foreach ($game->data['players'] as $player): ?>
$y = 0; ?>
foreach ($player['cards'] as $card): ?>
$y++; ?>
endforeach ?>
if ($y): ?>
endif ?>
$y = 0; ?>
if ($player['split']) foreach ($player['split'] as $card): ?>
$y++; ?>
endforeach ?>
if ($y): ?>
endif ?>
endforeach ?>