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); } } }
function game_print($game, $update) { if ($game->gamekind == 'cross') { game_print_cross($game, $update); } }