Skip to content

Commit d61bcd2

Browse files
committed
Adição de módulo de jogos
1 parent 207ccc4 commit d61bcd2

File tree

163 files changed

+33734
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+33734
-0
lines changed

mod/game/CHANGES.md

+233
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
Changes in version 2017-08-11 (2017081103)
2+
- New: High score
3+
4+
Changes in version 2017-08-08 (2017080601)
5+
- New: check params of crossword/cryptex
6+
7+
Changes in version 2017-07-19 (2017071902)
8+
- Fix: Completion support
9+
10+
Changes in version 2017-07-18 (2017071801)
11+
- New: icon.png and icon.svg
12+
13+
Changes in version 2017-07-16 (2017071601)
14+
- Fix: Cloning a game
15+
16+
Changes in version 2017-07-06 (2017070606)
17+
- New: Global glossaries
18+
19+
Changes in version 2017-07-05 (2017070502)
20+
- Fix: Problems on backup/restore
21+
22+
Changes in version 2017-07-03 (2017070301)
23+
- New: Auto check for common problem (mod_form.php and view.php for teachers)
24+
25+
Changes in version 2017-06-30 (2017063002)
26+
- in mod_form.php shows the correct numbers of correspondings questions/glossaryentries
27+
- in showanswrs.php shows the correspondings questions/glossaryentries
28+
29+
Changes in version 2017-06-27 (20170627)
30+
- Fix conversation of columns (cols,rows) from string to int
31+
32+
Changes in version 2017-06-20 (20170620)
33+
- Fix conversation of columns (cols,rows) from string to int
34+
35+
Changes in version 2017-06-19 (20170619)
36+
- Change field name game_snakes_database.cols => usedcols
37+
- Change field name game_snakes_database.rows => usedrows
38+
39+
Changes in version 2017-06-10 (20170610)
40+
- Fix phpdocs problems
41+
42+
Changes in version 2017-06-09 (20170609)
43+
- Fix Moodle 3.4 compatibility problems
44+
- Fix stylings problems
45+
46+
Changes in version 2016-08-19 (20160819)
47+
- New string (millionaire_lettersall) that will be used to Deutsch language
48+
49+
Changes in version 2016-06-26 (20160626)
50+
- Change type of game_cross.createscore to double
51+
52+
Changes in version 2016-06-14 (20160614)
53+
- Fix Moodle 31 compatibility
54+
55+
Changes in version 2016-09-17 (20160917)
56+
----------------------------------------
57+
- Fix Moodle 3.1 compatibility problems
58+
59+
Changes in version 2016-04-26 (20160426)
60+
----------------------------------------
61+
- Fix Use get_types or get_shortcuts depended on version of Moodle
62+
63+
Changes in version 2016-03-03 (20160302)
64+
------------------------------------------------------------------
65+
- New: Max compute time in crossword and cryptex
66+
67+
Changes in version 2016-02-14 (20160214)
68+
------------------------------------------------------------------
69+
- Fix syntax error (missed fullstop for concatenation)
70+
- Merge pull request #10 from grigory-catalyst/MOODLE_20_STABLE
71+
- Fix missing string gameopenclose at lang/en/game.php
72+
- Fix compatibility with Moodle 2.5
73+
74+
Changes in version 2015-12-31 (4) (2015123104)
75+
------------------------------------------------------------------
76+
- Fix translations check at translate.php
77+
78+
Changes in version 2015-12-31 (3) (2015123103)
79+
------------------------------------------------------------------
80+
- Fix at backup.
81+
- Fix not to show how many correct letters are when printing the crossword.
82+
- Moodle 3.1 compatibility.
83+
- Fixing how is shows multichoice question on show answers.
84+
85+
Changes in version 3.36.30.1 (2015123001)
86+
------------------------------------------------------------------
87+
- New: Disable summarize of attempts.
88+
- CONTRIB-5605: Quotation marks breaks the js-code in game Cryptex.
89+
- Prevent Style Override of Crossword.
90+
- Add missing language string game:addinstance.
91+
- More RTL fixes.
92+
- Fixing problems on Millionaire with quiz.
93+
- Fixing in crossword no horizontal legend and print button.
94+
95+
Changes in version 3.36.29.1 (2015122901)
96+
------------------------------------------------------------------
97+
- Fixing coding style.
98+
99+
100+
Change for year 2015
101+
------------------------------------------------------------------
102+
- Fix: Millionaire with no random quiz questions.
103+
- New: User defined language at hangman and crossword.
104+
- Fix: Multianswer questions.
105+
- Fix: Hangman with greek and english words in the same game.
106+
- New: Multianswer questions on Book with questions Game.
107+
- Fix: Ignore multianswer questions on Millionaire Game.
108+
- New: Multianswer question on Sudoku Game.
109+
- New: Multianswer question on Snakes and Ladders Game.
110+
- New: FinishGame button on Cryptex Game.
111+
- New: Print button on Cryptex Game
112+
- Fix: Cryptex - Show grade while game continues
113+
- CONTRIB-5816: Question bank category not retrieved when Crossword is …
114+
- CONTRIB-5816: Question bank category not retrieved when Crossword is …
115+
116+
117+
Changes for year 2014
118+
-----------------------
119+
- Fix:Problem on deletion of a game and restore a course
120+
- Fix:Moodle 2.8 compatibility
121+
- Fix: Change in description of parameters for game 'Snake and Laddes'
122+
- New: Image set in hangman
123+
- Fix: version.php compatibility with Moodle 2.7
124+
- Fix: Images in questions
125+
- Fix: Snakes compatibility with Moodle 1.6
126+
- Fix: Event compatibility with Moodle 1.6
127+
- New: parameter disabletransformuppercase in crossword
128+
- Fix: Compatibility with Moodle 2.7
129+
- New: Events in Moodle 2.7
130+
- Fix rtl: very basic fix so all games can be displayed in RTL
131+
- Fix: Problem when viewing the second page of game attempts
132+
- Fix: Millionaire error on Moodle 2.5
133+
- Fix: print_table deprecated
134+
- Fix: export to html of millionaire
135+
136+
137+
Changes for year 2013
138+
------------------------------------------------------------------
139+
- Fix: export to html of cross and millionaire
140+
- CONTRIB-4724: New function module_scale_used_anywhere() should be imp…
141+
- CONTRIB-4773 fixed various errors from Tim Lock
142+
- CONTRIB-4774 fix:crossword game activity throws database error
143+
- New: Ability to hide some games
144+
- Fix: Remove time limit
145+
- Fix: Moodle 2.6 compatibility
146+
- New Cross:Show/Hide print button
147+
- Fix: English language file game/lang/en/game.php does not contain $st…
148+
- Fix: field game_attempts.lastremoteip now saves only the first 30 cha…
149+
- Deleting file header.php for theme Essential
150+
- Fix: Backward compatibility with Moodle 2.0 and textlib
151+
- Fix: install.xml is now compatible with moodle 2.0
152+
- Fix: Rename header.php to headergame.php
153+
- Fix: Backups the field game.maxattempts
154+
- Fix: Problem when a question contains an apostrophe
155+
- Fix: Computing score in cross when using spaces
156+
- Fix: Show the correct number of attempts to a user
157+
- New: In parameters you can set the maximum number of attempts
158+
- Fix: Grading method now works ok
159+
- New: Writes the version of game at the form of editing the game
160+
- New: Cross,Cryptex can set the minimum number of words that a cross/c…
161+
- Remove translations
162+
- New string: modulename_help
163+
- Fix: Moodle 2.5 missing settype
164+
- Fix: Problem when using subcategories in questions
165+
- Fix: Snakes - Show message when not specified background images
166+
- Fix: Millionaire - Problem when using question with question with les…
167+
- Fix: ShowAnswers database error when using categories in glossaries.
168+
- Cross: Set N20 at least 15 (usefull when contains only small words)
169+
- Snake: Fix a problem with imasrc on heavy load
170+
171+
172+
Changes for year 2012
173+
------------------------------------------------------------------
174+
- Fix: HiddenPicture show answers when using a quiz
175+
- Fix: HiddenPicture: Default width / height
176+
- Fix: Completion settings
177+
- Fix: creating new object
178+
- Fix: Remove reference to yui2_lib
179+
- Fix: release in version.php
180+
- First commit 2.0 to git
181+
182+
183+
Changes for year 2011
184+
------------------------------------------------------------------
185+
186+
187+
Changes for year 2010
188+
------------------------------------------------------------------
189+
- Basque (eu) translation by Juan Ezeiza
190+
- Complete German translation by Joachim Vogelgesang
191+
- Translations of some Spanish (es) words from Carolina Avila
192+
- The games now checks how many times is used each word
193+
- Fix: syntax error in get_records_select
194+
- Fix for questions and quiz as input
195+
- Support for right to left allignment in Hangman, Crossword and Cryptex
196+
- First version for Moodle 2
197+
198+
199+
Changes for year 2009
200+
-----------------------
201+
- Millionaire: Select questions from quiz not randomly but serial
202+
- Better German (de) translation by Mike graf
203+
- Better random selection
204+
- Cryptex: Max tries on each question
205+
- Hebrew (he) translation by Nadav Kavalerchik
206+
- Hangman: Export picture-hangman to mobile phone
207+
- Hangman: Now support attachements from glossary
208+
209+
210+
Changes for year 2008
211+
-----------------------
212+
- Cross: Export to html and printing capability
213+
- Fixes: Problem when we select a category in glossary
214+
- New: First version of gradebook on moodle 1.9
215+
- Hangman: Fix - After guessing the word correctly the message displayed after "Congratulations" is not the feedback to the correct answer, but the feedback to the last incorrect question.
216+
- Hidden picture: Fixes a problem when filenames are capitals
217+
- Crossword: '-','/' are not bad chars now
218+
- Doesn't select the correct answer where there are more answers in one question
219+
- Database postgres compatibility
220+
- Polish (pl) translation
221+
- Include subcategories of questions
222+
- Translation to Dutch (nl)
223+
- Hangman: Export to html - works with other languages
224+
- Fix: Problem in mod.html
225+
- Javame: If can't create the jar file creates a zip file instead
226+
- Tables for exporting to javame
227+
- Translaton to Rusian (ru) by Ивченко Анатолий
228+
- Problem when the language of hangman words is different from current language
229+
- When you finish a game and press the 'New game' show some errors
230+
- CONTRIB-446 : When an answer is wrong in millionaire game, the correct answer shown by the system is also wrong
231+
- MDL-15454: After editing a new game for the first time should go to mod.php/update page to make the settings for this game
232+
- Norwegian (no) translation
233+
- Adding game module to CONTRIB.

mod/game/README.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Game module for Moodle
2+
Copyright (C) 2004-2015 by Vasilis Daloukas (http://bdaloukas.gr)
3+
4+
This program is free software; you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation; either version 3 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details:
13+
14+
http: www.gnu.org/copyleft/gpl.html
15+
16+
Game module for Moodle
17+
===============================================================================
18+
Created by: Vasilis Daloukas (bdaloukas)
19+
20+
21+
Many ideas and code were taken from other Moodle modules and Moodle itself
22+
23+
24+
This module gets input from quiz, glossary or questions and plays some games. The games are:
25+
26+
27+
* hangman
28+
* crossword
29+
* cryptex
30+
* millionaire
31+
* sudoku
32+
* Snakes and Ladders
33+
* The hidden picture
34+
* Book with questions
35+
36+
If you like the Game activity module please consider donating at https://www.paypal.me/moodlegame to help me have more time to continue working on this project. This module is and will remain free, but your donation allows me to continue the development, and any amount is greatly appreciated.
37+
38+
* Changelog: CHANGES.md
39+
* Documentation: http://docs.moodle.org/en/Game_module
40+
* Browse source code: https://github.com/bdaloukas/moodle-mod_game
41+
* Download for Moodle 2 & 3: https://codeload.github.com/bdaloukas/moodle-mod_game/zip/MOODLE_20_STABLE
42+
* Download for Moodle 1.9: https://codeload.github.com/bdaloukas/moodle-mod_game/zip/MOODLE_19_STABLE
43+
* Download with git: type the next command in the root of your Moodle install: "git clone -b MOODLE_20_STABLE https://github.com/bdaloukas/moodle-mod_game.git mod/game"
44+
* Discussion: http://moodle.org/mod/forum/view.php?id=7220
45+
* Bugs and Issues: http://tracker.moodle.org/browse/CONTRIB/component/10295
46+
* Installation: http://docs.moodle.org/en/Installing_contributed_modules_or_plugins
47+
48+
Supported languages: Català (ca), Deutsch (de), Ελληνικά (el), English (en), Español - Internacional (es), Euskara (eu), Français (fr), ית (he), Hrvatski (hr), Italiano (it), Nederlands (nl), Norsk - bokmal ( no), Polski (pl), Português - Brasil (pt_br), Русский (ru), Shqip (sq), Українська (uk), 简体中文 (zh_cn).

0 commit comments

Comments
 (0)