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


  • One poor developer...
    Mon, Dec 10, 2012, 7:18 PM
    oh, yes, please update this for 2.4 and upwards... is sooooo sweet!
  • Picture of italo enio
    Wed, Dec 12, 2012, 10:39 AM
    Please, thousands of people would love to have this fantastic plugin for Moodle 2.4 or 2.x ... Please! See you later!
  • Zbigniew
    Tue, Dec 18, 2012, 11:57 PM
    Please! Moodle 2.4 is sad without games.
  • Picture of Vasilis Daloukas
    Thu, Dec 20, 2012, 5:29 AM
    I added the version for Moodle 2. Works with Moodle 2.4 also.
  • math
    Thu, Dec 20, 2012, 8:19 AM
    I just installed the update that Vasilis posted at and everything is working fine in Moodle 2.4+. Thanks, Vasilis!
  • Picture of italo enio
    Thu, Dec 27, 2012, 10:59 PM
    Unfortunately, in my moodle 2.4 do fuciona ...
    Can anyone help me? please, I would love to install this famous and powerful plugin.
    Thank you!


  • Germán and Temudgin
    Tue, Jan 8, 2013, 3:59 AM
    Hi Vasilis,

    The following translations for the game plugin have been updated and are currently available in AMOS ( for Moodle users: el, es, es_mx, fr, he, it, nl, ,no, pl, ru, zh_cn smile

    The following translations are currently under review by the language pack maintainers: sq, hr smile

    The following translations have not yet been reviewed by the language pack maintainers: ca, de, eu, pt_br, eu

    The Ukranian translation (uk) was rejected by the language pack maintainer, as it had too many non-ukranian words sad

    Nowadays you do not need to include the translated language strings (besides English) within your module files. Please look at where you will find the current status for translation of Moodle plugins.

    Thanks for a very nice plugin smile
  • Picture of seo yongjin
    Thu, Apr 25, 2013, 4:13 AM

    Error reading from database

    More information about this error

    Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    SELECT, concept as answertext, definition as questiontext, as glossaryentryid, 0 as questionid, attachment FROM mdl_glossary_entries ge WHERE glossaryid=
    [array (
    Error code: dmlreadexception

    Stack trace: •line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
    •line 1023 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    •line 535 of /mod/game/locallib.php: call to mysqli_native_moodle_database->get_records_sql()
    •line 506 of /mod/game/locallib.php: call to game_questions_shortanswer_glossary()
    •line 40 of /mod/game/cross/play.php: call to game_questions_shortanswer()
    •line 25 of /mod/game/cross/play.php: call to game_cross_new()
    •line 194 of /mod/game/attempt.php: call to game_cross_continue()
    •line 175 of /mod/game/attempt.php: call to game_create()
    •line 25 of /mod/game/attempt.php: call to game_do_attempt()
  • Picture of Dave Perry
    Mon, Apr 29, 2013, 11:11 PM
    When you install it on moodle 2.5 (I'm beta testing it currently), on the Add an activity... > Game (choose type) form, you get the following error:

    Did you remember to call setType() for 'gamekind'? Defaulting to PARAM_RAW cleaning.

    line 1289 of /lib/formslib.php: call to debugging()
    line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
    line 202 of /lib/formslib.php: call to moodleform->_process_submission()
    line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
    line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

    Did you remember to call setType() for 'type'? Defaulting to PARAM_RAW cleaning.

    line 1289 of /lib/formslib.php: call to debugging()
    line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
    line 202 of /lib/formslib.php: call to moodleform->_process_submission()
    line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
    line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

    This is seen as a security weakness, as described here:
  • Germán and Temudgin
    Fri, May 3, 2013, 8:42 AM
    Hi Vasilis,
    This is a great plugin.

    I think it will be even better if you add the following English language string along the lines of:

    $string['modulename_help'] = 'This module contains 8 games: Hangman,Crossword, Cryptex, Millionaire, Sudoku, The hidden picture, Snakes and Ladders and Book with questions';

    The modulename_help string is the explanation a teacher gets when he chooses to add an activity by way of the activity chooser in Moodle 2.3 upwards. Most Moodle core plugins and many addons already have such a string.

    I hope you can add this new english language string.

    Thanks in advance for your help.
  • Picture of Dave Perry
    Tue, Jun 18, 2013, 8:36 PM
    I've been doing a helpsheet on this for work, and had to add the link to showattemps.php in view.php for those with viewreports permission. Could the reporting be better? Or is the 'solution' icon on the showattempts.php rendered table the output of 'what people put in'?
  • Picture of Mitja Decman
    Wed, Jun 19, 2013, 11:33 PM
    Hi, is it possible at all to select questions from Question Categories For 'SYSTEM'? I don't get that option.
  • Picture of philippe dutour
    Sun, Jun 23, 2013, 4:52 AM

    I try to use the activity 'games'. creating cross word hung from ...
    From a category of questions, or a glossary.

    I created a simple glossary, and a list of questions, and then added to the different games work, but when I run the business .... 'Error'. I can not see what is wrong, can someone help me or just tell me his experience of this activity.

    Moodle version 2.5 for the activity module 'game' version 2013050305
    Thank you
  • Picture of Mark Picker
    Tue, Jul 16, 2013, 12:50 PM

    Anyone else having issues with the latest version reporting fatal errors in the header.php file? I've logged a JIRA ticket at

  • Picture of Flávio Camargo
    Thu, Jul 25, 2013, 2:49 AM

    Congratulations it's very good module, but you need add the attempts number limit!

Please login to post comments