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
Citation pour cette source
Per-Anders Ekstrom (2024). Numeric Keypad Maze (https://www.mathworks.com/matlabcentral/fileexchange/19530-numeric-keypad-maze), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Gaming > Just for fun >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Labyrinth problems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |