Codebreaker mini game Point?

So what is the point of the codebreaker mini game? i beat it in 18 moves in 2:40 second but got nothing.

Its meant to be fun