previous

page 16

next
keeping count
globals.js
var g_square_id=0;
var g_letters=0;
var g_found=0;
load_squares.js
el.textContent='_';
g_letters++;
key_clicked(el) in clicks.js

And this will also be where we want to move on to the next square to be filled in.

square.style.color='black';
g_found++;
move_on(g_square_id);

The move_on function is probably the trickiest code for the project - please study the next page very carefully.

previous
next