Detail page of Project Secret Code Guesser


A secret code...

In this project I made a little game where a player can guess a secret code. The code can be changed in the code itself. This code checks the right amount of digits that match with the secret code, and it tells the player how many positions of the code it got right, but instead of telling the player which positions are the right ones, it gives the player the sum of all the right digits. This way the player has to calculate the digits he/she gave in and look which digits are part of the main code. This way the player can eventually guess the secret code correctly. (If the player wants to give up, he/she can always say no to the question of if they want to give it another guess.)

The main code

More Pictures

The methods A testrun of the game

Technical information