Tiny puzzle game written in JavaScript