This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6636 - Maze generator plugin
Attached to Project:
Rockbox
Opened by Matthias Wientapper (mattzz) - Thursday, 08 February 2007, 22:41 GMT+2
Last edited by Antoine Cellerier (dionoea) - Thursday, 28 June 2007, 23:14 GMT+2
Opened by Matthias Wientapper (mattzz) - Thursday, 08 February 2007, 22:41 GMT+2
Last edited by Antoine Cellerier (dionoea) - Thursday, 28 June 2007, 23:14 GMT+2
|
DetailsThis is the implementation of a maze generation algrorithm.
The generated mazes are "perfect", i.e. there is one and only one path from any point in the maze to any other point. The implemented algorithm is called "Depth-First search". The plugin should run on all platforms without HAVE_CHARCELLS. Keys: right: new maze quit: errrrm... quit A maze solver routine is not implemented yet, maybe another time. I have not included a patch for apps/plugins/SOURCES as I do not exactly know where to put the maze.c line. http://mattzz.dyndns.org/twiki/bin/view/Projects/RockboxMaze |
This task depends upon
Closed by Antoine Cellerier (dionoea)
Thursday, 28 June 2007, 23:14 GMT+2
Reason for closing: Accepted
Thursday, 28 June 2007, 23:14 GMT+2
Reason for closing: Accepted
- Play/select toggles display of solution.
- set background to LCD_DEFAULT_BG
- Maze is black, solution is grey
- backlight stays on now
[x] done.
- added moving around in the maze with up/down/left/right keys.
- select/fire toggles showing the solution
- play creates a new maze
Would it be possible to add stuff like display (as an option maybe) tiles which have already been visited ?