I'm not proud to admit that I entered 10 or so combinations of the code and thought "well this is dumb, why do need to blindly guess some number" XD
Fun little game. The solution to the last level works a bit strange, but I figured it out.