Numeric Keypad Maze
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
引用格式
Per-Anders Ekstrom (2024). Numeric Keypad Maze (https://www.mathworks.com/matlabcentral/fileexchange/19530-numeric-keypad-maze), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Gaming > Just for fun >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Labyrinth problems >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |