Hidden Number

This game is a continuation of the first project section of the course, but in itself was developed from the third project section. Its operation relies on user honesty as the game doesn’t actually have knowledge of what the player’s hidden number is. There is a humorous tone to the game and a pop culture reference.

It introduces UI Buttons to call functions from scripts and changing scenes at runtime. Unity’s Mathf class is used to provide mathematical functions like random number generation.

While not very deep in terms of user interaction, I did expand on what would happen if the user attempts to lie about their number by telling the game their number is of a higher or lower value than the only possible remaining number. There is a known bug with the game that occurs if the player exclusively picks the “Too High” option where the scene doesn’t transition to the lie detection scene, therefore making one an unreachable number.