Really nice concept. Could be expanded a lot too, like building multiple masks that have some given operation done on them, and ultimately you have to reach a certain final result. Would be a great learning tool for devs who don't practice these concepts, heh!
Nice little game. :)