honor run option with a default maze of 30x30

default_args in project
Display.main()
  if argument is empty ignore it
  if file read fails, exit
add a WHEREWHAT file
extract MazeParamEditor to share it, prepare for having a GUI instead of console
This commit is contained in:
philippe lhardy
2016-06-23 22:07:50 +02:00
parent 841793cc86
commit afeafc1ec8
7 changed files with 87 additions and 60 deletions

View File

@@ -14,7 +14,7 @@ import java.io.DataInputStream;
/**
* Model of labyrinth storing only paths not walls. wall are regenerated later
* on based on adjacent paths. each position (x,y) stores what move can be done
* from here to go do deeper path. a node is tagged OPEN and contained in
* from here to go to deeper path. a node is tagged OPEN and contained in
* openList if all moves from its position have not been resolved a node is
* tagged CLOSED when fully processed
**/