This is a game similar to 'Puyo Puyo' written in Javascript that runs in a browser.
https://en.wikipedia.org/wiki/Puyo_Puyo
This code was salvaged from old PC.
This code is quite old and difficult to read.
Key bindings
[arrow left] - move left
[arrow right] - move right
[arrow down] - rotate right
[F5] - restart
Tried code golf on this code.
https://github.com/y-hatano-github/js-puyo-cg