Very well done! I did encounter a bug where pausing and pressing resume randomized the level again. A nice proof of concept, but should probably use handmade puzzles (in a finished form of course).
Thank you for the feedback!