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
Citar como
Per-Anders Ekstrom (2024). Numeric Keypad Maze (https://www.mathworks.com/matlabcentral/fileexchange/19530-numeric-keypad-maze), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Gaming > Just for fun >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Labyrinth problems >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |