activities/memory/MemoryGame
Source: MemoryGame.js:32
File : activities/memory/MemoryGame.js
Created : 04/06/2015
By : Francesc Busquets francesc@gmail.com
JClic.js
An HTML5 player of JClic activities
https://projectestac.github.io/jclic.js
- License: EUPL-1.2
Other
MemoryGame
Extends: module:Activity.Activity
This class of Activity shows a panel with duplicate ActiveBox objects initially
hidden and shuffled. To complete the activity, all object pairs must be found. Only two objects
are revealed in every move, so the user must remember the content of each cell.
The cell pairs can have identical content, defined in the primary ActiveBagContent of
the activity, or two different contents. In this case, the secondary bag elements will have
content related to each primary element.
Parameters
project(module:project/JClicProject.JClicProject) — The JClicProject to which this activity belongs
MemoryGamePanel
Extends: module:Activity.ActivityPanel
The ActivityPanel where MemoryGame activities are played.
Parameters
act(module:Activity.Activity) — The Activity to which this Panel belongsps(module:JClicPlayer.JClicPlayer) — Any object implementing the methods defined in the
PlayStation Java interface.$div(external:jQuery, optional) — The jQuery DOM element where this Panel will deploy