It’s a Mastermind game with numbers.

http://www.glbasic.com/showroom.php?game=Codemaster&site=games-gp2x-compo&lang=en