Guessing Game

Version 1.0.0.0 (9.76 KB) by vj
The user is supposed to find the randomly generator number by the computer. This game has 3 levels.
654 Downloads
Updated 2 Oct 2012

View License

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
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Strategy & Logic in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0