@ -44,7 +44,7 @@ $gamegrademethod = array ( GAME_GRADEMETHOD_HIGHEST => get_string("gradehighest"
GAME_GRADEMETHOD_FIRST => get_string("attemptfirst", "game"),
GAME_GRADEMETHOD_LAST => get_string("attemptlast", "game"));
define( "CONST_GAME_TRIES_REPETITION", "3");
define( "CONST_GAME_TRIES_REPETITION", "5");
/**
* Returns the version of Moodle.
@ -240,7 +240,7 @@ function game_showanswers_question( $game, $context) {
} else if ( ($gamekind == 'hangman') or ($gamekind == 'cryptex') or ($gamekind == 'cross')) {
$select .= " AND q.qtype = 'shortanswer'";
}
game_showanswers_question_select( $game, $table, $select, '*', $order, $showcategories, $game->course, $context);
game_showanswers_question_select( $game, $table, $select, 'q.*', $order, $showcategories, $game->course, $context);
@ -35,10 +35,10 @@ if (!isset( $plugin)) {
$plugin->component = 'mod_game'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2017070502; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2017070601; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2010112400; // Requires Moodle 2.0.
$plugin->cron = 0; // Period for cron to check this module (secs).
$plugin->release = '2017-07-05';
$plugin->release = '2017-07-06';
$plugin->maturity = MATURITY_STABLE;
if ($useplugin != 2) {