Nice and unique idea!
Sadly, the undo button doesn't work for me, which makes it pretty hard to play (always had to reload the page when I got it wrong). Did I miss something or is that a bug?
Thank you for playing. If the z button doesn't work, then it's possibly a bug that I didn't experienced... sorry for that...