Activities ::: mod_game
Maintained by Picture of Vasilis DaloukasVasilis Daloukas
The game activity module makes use of questions, quizzes and glossaries to create offer a variety of interactive games.
Latest release:
8182 sites
225 fans
Current versions available: 1

This module gets input from quiz, glossary or questions and plays some games. The games are:

* hangman
* crossword
* cryptex
* millionaire
* sudoku
* Snakes and Ladders
* The hidden picture
* Book with questions

If you like this module smile please consider donating via PayPal at  Donate with PayPal button

 to help me continue working on this project. When you donate you can ask for new facilities e.g. support for new languages, new games, new statistics, more documentation on some forms or extra support. 
It's a project that has been active since 2007 and is the number 7 on downloads in the last 12 months according to
This module is and will remain free, but your donation allows me to continue the development, and any amount is greatly appreciated.

Now is GDPR compliant.

Publications (Google Scholar profile):


This plugin is part of set Gamification.


Screenshot #0


Picture of Vasilis Daloukas
Vasilis Daloukas (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Márton Bacsó
    Tue, Jul 30, 2013, 3:17 PM
    Dear All,

    I'm having trouble with any of the games (eg.: Millionair), when I use Tests as a source of questions. I get "error/There are no questions" message. If I set up the Millionair, not to randomize the question, the game starts, but without any questions. Everything works fine, if I use the question banks. Any ideas?
  • Picture of Dave Perry
    Tue, Aug 6, 2013, 6:25 PM
    Crossword has a fault where the last Answer button doesn't work. I've logged a bug tracker issue for it
  • Picture of Miki Alliel
    Wed, Aug 7, 2013, 9:14 PM
    I have moodle 2.5.1 and when playing game milioner I see 4 images fine in a question
    then I click 50/50 option and I get error not displaying the images this is what I get in Firefox console

    "NetworkError: 404 Not Found - "

    What Can Ido?
  • Picture of Marius Jugariu
    Wed, Aug 14, 2013, 9:16 PM
    I installed it on Moodle 2.5.1+ (Build: 20130802) and it works to create any games but whenever I attempt to access any I get the following error and none of them works sad :

    Notice: Undefined variable: DB in /var/www/html/mod/game/header.php on line 15
    Fatal error: Call to a member function get_record() on a non-object in /var/www/html/mod/game/header.php on line 15
  • Picture of Sudhir Singhal
    Fri, Aug 16, 2013, 4:50 AM
    I installed on moodle 2.2.3 but it shows the following error:

    XML database file errors found
    More information about this error
    Debug info: Errors found in XMLDB file: Problem loading table game, Some FIELDS previous/next values are incorrect
    Stack trace:

    line 390 of /lib/ddl/database_manager.php: ddl_exception thrown
    line 406 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
    line 507 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1437 of /lib/upgradelib.php: call to upgrade_plugins()
    line 269 of /admin/index.php: call to upgrade_noncore()

    Pl guide me what to do now to solve this issue.
  • Picture of Vasilis Daloukas
    Fri, Aug 23, 2013, 1:00 PM
    Sudhir, try version 3.8.22
    This version fixes a compatibility problem with Moodle 2.2.3
  • Picture of Vasilis Daloukas
    Fri, Aug 23, 2013, 1:01 PM
    Marius, try the last version. This version fixes a compatiblity problem with the theme essentials.
  • Picture of Marius Jugariu
    Fri, Aug 23, 2013, 9:36 PM
    Hi Vasilis,

    Thanks for quick reply. I installed the new version but still the same error sad

  • Picture of romano gino
    Fri, Aug 23, 2013, 10:41 PM
    Hi. There is a problem with the last version of this excelent plugin, with 2.5 version:

    Warning: require_once() [function.require-once]: Unable to access cross/play.php in /home/elgst/public_html/turismo/mod/game/attempt.php on line 14

    Warning: require_once(cross/play.php) [function.require-once]: failed to open stream: No such file or directory in /home/elgst/public_html/turismo/mod/game/attempt.php on line 14

    Fatal error: require_once() [function.require]: Failed opening required 'cross/play.php' (include_path='/home/elgst/public_html/turismo/lib/zend:/home/elgst/public_html/turismo/lib/pear:.:/usr/lib/php:/usr/local/lib/php') in /home/elgst/public_html/turismo/mod/game/attempt.php on line 14
  • Picture of Vasilis Daloukas
    Fri, Aug 23, 2013, 11:15 PM
    Romano exists the file /home/elgst/public_html/turismo/mod/game/play.php

    Maybe you don't copy all the files of module or the files don't have read permissions.
  • Picture of Vasilis Daloukas
    Fri, Aug 23, 2013, 11:19 PM
    Marius, I tested the last version (3.8.22) of Game with Moodle 2.2.11 and installs correctly.
  • Picture of Marius Jugariu
    Mon, Aug 26, 2013, 5:16 PM
    Hi Vasilis,

    I am using Moodle 2.5.1+ (Build: 20130802) and it works fine to install but when I go to create a game I get the error when I press "save and return to course"
  • Picture of romano gino
    Tue, Aug 27, 2013, 11:02 PM
    Vasilis Daloukas

    I have installed the last version of your plugin into 2.5, and it is working fine, but I have this warning:

    Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/elgst/public_html/turismo/mod/game/cross/cross_class.php on line 138

    Perhaps for future versions could be possible to avoid the call? I tried with my administrator/hosting provider to unset the PHP safe mode for your Moodle installation, but he refused. The problem comes with the installation of Moodle 2.5, but I can not avoid it.

    Thanks in advanced.
  • Picture of Konstantinos Stergiopoulos
    Mon, Sep 30, 2013, 12:47 AM
    Βασίλη καλησπέρα,
    το εγκατέστησα στο Moodle 2.5.2+ (Build: 20130920) και παίρνω όταν καλώ ένα παιχνίδι το εξής error: Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  • George
    Sun, Dec 1, 2013, 6:47 PM
    Debug info: Unknown column 'version' in 'field list'
    SELECT id,version FROM mdl_modules WHERE name = ?
    [array (
    0 => 'game',
    Error code: dmlreadexception
    Stack trace:

    line 441 of /lib/dml/moodle_database.php: dml_read_exception thrown
    line 996 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 1415 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
    line 1387 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
    line 1366 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
    line 1924 of /mod/game/locallib.php: call to moodle_database->get_record()
    line 42 of /mod/game/mod_form.php: call to game_get_version()
    line 191 of /lib/formslib.php: call to mod_game_mod_form->definition()
    line 86 of /course/moodleform_mod.php: call to moodleform->moodleform()
    line 256 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
Please login to post comments