to get the grid in a state where only the middle square is not
lit by clicking on the squares.
A javscript simulation of the old Merlin Game from the 80s
The game code is not heavily optimized but for a simple puzzle game it performs quite adequately. On touch devices (iOS in particular), there is a 300ms lag when tapping a square. The browser is waiting to make sure its not a double tap which is a zoom.