activities/textGrid/CrossWord

Source: CrossWord.js:32

File : activities/textGrid/CrossWord.js
Created : 17/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

CrossWord

Extends: module:Activity.Activity

This class of Activity shows a TextGrid initially empty, with some cells
marked in negative color that act as word stoppers. A blinking "cursor" indicates the cell that
will receive the next character entered by the user on the keyboard.

The letter in each cell of the grid is always shared by two words: one in horizontal direction
and the other one in vertical direction. Two ActiveBox objects are placed next to the
TextGrid, hosting the definitions of the horizontal and vertical words crossing at the
cell currently marked by the cursor.

Two special buttons placed near this boxes allow to write on the grid horizontally or vertically.
The aim of the activity is to fill all the text grid with the correct words.

Parameters

CrossWordPanel

Extends: module:Activity.ActivityPanel

The ActivityPanel where CrossWord activities are played.

Parameters