activities/puzzles/HolePuzzle
Source: HolePuzzle.js:32
File : activities/puzzles/HolePuzzle.js
Created : 01/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
HolePuzzle
static
HolePuzzle.js:48Extends: module:Activity.Activity
This class of Activity shows only one panel with shuffled ActiveBox cells.
One of the cells is out of the main panel, thus allowing its neighbors occupy their space.
Only immediate neighbors of the "hole" can move into it.
When all cells are on place, the initially "expulsed" cell comes back home and the activity is done.
Parameters
project(module:project/JClicProject.JClicProject) — The JClicProject to which this activity belongs
HolePuzzlePanel
static
HolePuzzle.js:98Extends: module:Activity.ActivityPanel
The ActivityPanel where HolePuzzle 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