Valid
	XHTML 1.1! Valid CSS!
Created 2003-08-01   Modified 2009-04-11
Chelton Evans

proj maze home

Intro
Snapshots
Theory
TODO
Source

Intro

Write a maze. While these are considered easy puzzles they certainly are fun. Every one has done a maze so you know the drill.

I did get called lazy for not visually solving the maze in software. So I have gone back and written a small algorithm to get maze's path graph.

Snapshots

img013s.png

Solver and menu added.
$ ./main prog=14 m=20 n=20 proper=0

img12s.png

$ ./main prog=13 m=15 n=15 backgroundcolor=255,255,0 pipes=1 walls=0

img10s.png img11.png

Maze game. Simple keyboard movement.
$ ./main prog=13 m=15 n=15 backgroundcolor=255,255,0

img09s.png

Improper and proper maze.
$ ./main prog=12 m=10 n=20 dx=0.15 randomize=0 origin=-1.4,-.5,0 wallcolor=255,0,0 proper=0
$ ./main prog=12 m=10 n=20 dx=0.15 randomize=0 origin=-1.4,-.5,0 wallcolor=255,0,0

img05.png

$ ./main prog=12 m=50 n=50 origin=-1.2,-1.2 dx=0.05 backgroundcolor=20,255,0 wallcolor=255,0,0

img08s.png

$ ./main prog=12 id=true

img07s.png

$ ./main prog=12

img06.png

$ ./main prog=11

Source

Files

Makefile
buttonpanel01.cpp
buttonpanel01.h
buttonpanel01test.cpp
buttonpanel01test.h
buttonpanel02.cpp
buttonpanel02.h
cellD2.h
cellD3.h
main.cpp
maze001.cpp
maze001.h
maze002.cpp
maze002.h
maze003.cpp
maze003.h
maze004.cpp
maze004.h
maze005.cpp
maze005.h
mazedisp01.cpp
mazedisp01.h
mazedisp02.cpp
mazedisp02.h
mazedisp03.cpp
mazedisp03.h
mazegameD2solver01.cpp
mazegameD2solver01.h
mazegameD2state01.cpp
mazegameD2state01.h
mazegameD2state01test.cpp
mazegameD2state01test.h
mazematrixD2.h
mazematrixD2createmaze.h
mazematrixD2test.cpp
mazematrixD2test.h
mazematrixD3.h
mazematrixD3test.cpp
mazematrixD3test.h
mazematrixmapD2.h

projcompile.txt
testscript01.txt
unittestsreport.txt

Doxygen

main.cpp
Makefile
buttonpanel01
buttonpanel01test
buttonpanel02
cellD2
cellD3
maze001
maze002
maze003
maze004
maze005
mazedisp01
mazedisp02
mazedisp03
mazegameD2solver01
mazegameD2state01
mazegameD2state01test
mazematrixD2
mazematrixD2createmaze
mazematrixD2test
mazematrixD3
mazematrixD3test
mazematrixmapD2

TODO

Game Application

Menu System

Main Menu

[1]  About
[2]  File >
[3]  Configuration >
[4]  New game >
[5]  Display >
[m]  Toggle Menu 
[h]  Help

[q]  Quit

New game

[1]  2D
[2]  3D

[ESC] Back to main menu

File Menu

[f]  Filename    maze.txt

[o]  Open
[s]  Save

[ESC] Back to main menu

Configuration Menu

[1]  2D
[2]  3D

[ESC] Back to main menu

Configuraion 2D Menu

[s]  gamestart
[f]  gamefinish
[r]  randomize 
[p]  proper
[d]  deletewall

[ESC] Back to main menu

Display 2D menu

[i]  id
[w]  walls
[p]  pipes
[P]  path

[]  pipecolor
[]  wallcolor
[]  backgroundcolor

[ESC] Back to main menu

Help menu

[page up] move up
[page down] move down
[< home] move left
[end >] move right

Display 3D menu