Thanks so much! Mastermind was definitely the inspiration, I just wanted it to be a little easier than that. Then someone suggested the more-switches-with-each-correct-guess mechanic, and I went with it.
The UI definitely needs some more prompting, if nothing else the button needs some text.
I do plan to pull it out to a larger game eventually, if so I'll drop a link!