LTBLController

LTBLController

Stimulus controller for /game/let-there-be-light.

Constructor

new LTBLController()

Source:

Extends

  • Controller

Methods

next() → {void}

Source:

Triggered by a click event on a hidden pixel on the page. Get the current background color of the tag. If it hasn't changed then naviagte to /game/make-it-brighter-before-you-can-continue/ which is a hint If it has changed but isn't white then navigate to /game/try-another-color/ which is another hint If it is white then navigate to the next puzzle.

Returns:

N/A

Type
void