Esempio n. 1
0
function game_print($game, $update, $context)
{
    if ($game->gamekind == 'cross') {
        game_print_cross($game, $update, $context);
    } else {
        if ($game->gamekind == 'cryptex') {
            game_print_cryptex($game, $update, $context);
        }
    }
}
Esempio n. 2
0
function game_print($game, $update)
{
    if ($game->gamekind == 'cross') {
        game_print_cross($game, $update);
    }
}