Puzzle game written in JavaScript using streams.