Guessing Game
In this game, the user needs to guess the randomly generated number. This game has 3 levels,Beginner, Moderate, Hard. In each level the user enters a number between 1&100 and hits the Guess button. The number of remaining items is displayed in the corner. User gets 8 attempts for a beginner,7 attempts and 5 attempts for moderate and hard respectively.
Cheat: Impress your friends/relatives by guessing the correct number. 
To do this, all you have to do is, click on Exit button in the GUI. It would return a question, "Are you sure?", in command window, reply with "vijay" without the double quotes and you will get the answer.. 
Enjoy! Have fun! Try not to cheat ; :D
**This means a lot to me.. Please leave your ratings, comments and suggestions so that I could improve this game.**
Thank you.
Cite As
vj (2025). Guessing Game (https://se.mathworks.com/matlabcentral/fileexchange/38414-guessing-game), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
