Approach: The following steps can be followed to design the game: 1.Generate a random number between 0 and N. 2.Then iterate from 1 to 10 and check if the input number is equal to the assumed number or not. 3.If yes, then the player wins the game. 4.Otherwise, terminate the game after 12 attempts.
Adarsha59/Number-Guessing
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|