course); game_print( $game, $id); function game_print( $game, $update){ if( $game->gamekind == 'cross'){ game_print_cross( $game, $update); } } function game_print_cross( $game, $update){ global $CFG; require( "cross/play.php"); $attempt = false; game_getattempt( $game, &$crossrec); game_cross_play( $update, $game, $attempt, $crossrec, '', true, false, false, true, false, false, false); } ?>