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 (2026). Guessing Game (https://www.mathworks.com/matlabcentral/fileexchange/38414-guessing-game), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
