Be the first to rate this file! 113 downloads (last 30 days) File Size: 4.12 KB File ID: #19530

Numeric Keypad Maze

by Per-Anders Ekstrom

 

09 Apr 2008 (Updated 10 Apr 2008)

Code covered by BSD License  

GUI for playing the Numeric Keypad Maze game

Download Now | Watch this File

File Information
Description

In this game you will use the numeric keypad. Num Lock should be active before you start. You have to find your way to the maze's exit by pressing the right keys. You have to press the number in the square where you want to move. The player can only move up, down, left and right. If you get stuck, the game ends.
The game consist of five different mazes which are created randomly. The game gets harder for each level, first level has 0-5 as options and the fifth level has 0-9 as options. The goal is to get to the exit as quick as possible with the least amount of keypresses.
Every wrong keypress counts as three keypresses.
You have 60 seconds and 100 keypresses on you to get to the exit of each maze. The score that is counted at the end is the sum of remaining seconds and remaining keypresses. At the end of the fifth maze you can your score is saved if it beats the highscore. Improve your results and be the numeric keypad master!
 
Idea and text taken from http://www.platinagames.com
 
Example:
  numpadmaze % Start the Numeric Keypad Maze Game

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
games Per-Anders Ekstrom 22 Oct 2008 09:57:07
game Per-Anders Ekstrom 22 Oct 2008 09:57:07
keypad Per-Anders Ekstrom 22 Oct 2008 09:57:07
maze Per-Anders Ekstrom 22 Oct 2008 09:57:07
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com