Moodle Plugins directory: Game | Moodle.org
Game
Activities ::: mod_game
Maintained by
Vasilis Daloukas
Part of set Gamification.
The game activity module makes use of questions, quizzes and glossaries to create offer a variety of interactive games.
Latest release:
8704 sites
1k downloads
323 fans
Current versions available: 2
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 please consider donating via PayPal at

It's a project that has been active since 2007 and is the number 7 on downloads in the last 12 months according to https://moodle.org/plugins/stats.php?plugin_category=1.
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):
Contributors
Vasilis Daloukas (Lead maintainer)
Please login to view contributors details and/or to contact them
After adding mod_game activity in course getting 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 id,concept FROM mdl_glossary_entries WHERE glossaryid=
[array (
)]
Error code: dmlreadexception
I am use php 8.2 version and moodle version is 4.4
Please fix the for better experience.
thanks
I want to use this great plugin for Moodle in my gamified mathematics course. I already know how to use the crossword game but I am unable to use “The hidden picture” game... are the game settings explained somewhere?
Thanks in advance
We are experiencing exactly the same error message as Mr Adarsh Shah when we try to create a new Hagman game instance:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
SELECT id,concept FROM mdl_glossary_entries WHERE glossaryid=
[array (
)]
Error code: dmlreadexception×Απόρριψη αυτής της ειδοποίησης
We using Moodle 4.4. Will the problem be fixed if we upgrade to the newest Game plugin version. Have you already published a fix?
Thanks in adnvance
When migrating from Moodle 4.2 to 4.4 or 4.5 we experienced an error when trying to display the list of games in the activities block as shown below:
Excepción: Class "question_edit_contexts" not found
Error code: generalexceptionhmessage
line 56 of /mod/game/index.php: Error Thrown
Thank you for your response.
line 519 of /mod/game/mod_form.php: call to moodle_database->get_in_or_equal()
line 132 of /mod/game/mod_form.php: call to mod_game_mod_form->get_array_question_categories()
line 217 of /lib/formslib.php: call to mod_game_mod_form->definition()
line 127 of /course/moodleform_mod.php: call to moodleform->__construct()
line 157 of /course/modedit.php: call to moodleform_mod->__construct()
Could you please have a look?
https://moodle.org/mod/forum/discuss.php?d=470323