Commit Graph

35 Commits

Author SHA1 Message Date
philippe lhardy
fbe4a3e133 LabyModel limit public constructors to
LabyModel(MazeParams params, Random random)
and
 LabyModel(String pFormat, InputStream pIn)

fix unchecked and (java9) deprecated Short(short)
2018-06-14 22:49:39 +02:00
philippe lhardy
3cb922455a path is on a lower ground if maze was resolved. 2018-03-04 21:36:03 +01:00
philippe lhardy
4b324fc2f4 change GUI controls layout
group 'Bar' by activity
2017-12-13 22:10:24 +01:00
philippe lhardy
b2576735b0 Q&D fix Drawing generation ( see it with svg export ). 2017-12-13 08:01:32 +01:00
philippe lhardy
015719b9de add svg save 2017-12-12 22:43:01 +01:00
philippe lhardy
8ec6e2c2cd QnD support .imc saving
use external artgaphics-0.1.0.jar (part of sharedrawweb project )
savec .imc files
2017-12-08 22:10:56 +01:00
philippe lhardy
b360320570 QnD fix for drawing
( seen when joining cells touching only by one point )
2017-12-05 21:52:12 +01:00
philippe lhardy
a43e1e5a68 one step beyong in resolution, still not finding all alternate path
add showAll button
reset maze size display at maze size change
2017-12-04 22:34:34 +01:00
philippe lhardy
b5d27ed694 try to handle resolution of alternate path
=> to check SOLVED, might be set SOVLED while not fully tested.
2017-12-02 21:54:51 +01:00
philippe lhardy
52d244c758 keys are bound to maze display
and get focus when mous mouse over it
2017-12-02 19:18:17 +01:00
philippe lhardy
3222df4256 left button : open a path
right button : open only this path ( close other ways ).
2017-12-02 18:22:30 +01:00
philippe lhardy
cddbd5f2d6 add reset button + title
default to 20x20 maze
2017-12-02 17:56:59 +01:00
philippe lhardy
378569bc8c one step beyond laby edition
allow to draw pathes before generation
still not working
2017-12-02 17:33:35 +01:00
philippe lhardy
77a06c0061 draw path 2017-12-02 16:45:22 +01:00
philippe lhardy
7deeb203ff prepare for hand drawing with maze. 2017-12-01 22:20:33 +01:00
philippe lhardy
eeb1172f88 show path with selected direction when resolved. 2017-12-01 21:42:02 +01:00
philippe lhardy
401c7e15d0 add path view
limit resolve depth ( to avoid infinite ).
to complete : horrible
2017-11-29 23:09:32 +01:00
philippe lhardy
ce485f2263 draging mouse with button pushed over maze clear walls
warning this break resolving ( endless => hang ) TO FIX.
2017-11-28 22:42:17 +01:00
philippe lhardy
fa0c705fd1 uses default locale
only french and english supported
2017-11-18 22:00:26 +01:00
philippe lhardy
2e5095372a * default with 60,60,15 labyrinth
* display labyrinth at re-recreation.
* save only labyrinth view ( png without background ).
2017-11-18 21:44:01 +01:00
philippe lhardy
65b9fb31dd actions en français
bouton quitter
2017-11-18 21:01:06 +01:00
philippe lhardy
8f234bb41b one pass on layout
build.xml exclude javafx ( remark lost with doit.sh ant ).
2017-11-18 18:33:19 +01:00
philippe lhardy
e429919005 create new maze with a given size
- fixme ratio paramaters are not reset.
2017-11-16 22:30:21 +01:00
philippe lhardy
50bad7a474 Merge remote-tracking branch 'origin/twocontrols' 2017-11-16 21:53:39 +01:00
philippe lhardy
c995d0748b prepare to set size 2017-11-16 21:47:54 +01:00
philippe lhardy
698394d9e1 separate controlers 2017-11-15 22:33:56 +01:00
philippe lhardy
966ad6f269 allow to recreate a maze with same size.
( need refresh if autozie is not set )
2017-11-13 23:12:07 +01:00
philippe lhardy
4cdb7273b5 support auto resizing with windwos resizing if wanted ( checkbox autoslide )
allows to save current maze as "snapshot.png"
2017-02-21 22:00:06 +01:00
philippe lhardy
afeafc1ec8 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
2016-06-23 22:07:50 +02:00
philippe lhardy
8ac4b7693c minor changes (format + move class in stl package ) 2016-03-28 14:39:07 +02:00
philippe lhardy
9333018aff some eclipse stuff
provide artlogjavaformat to reformat code
2016-03-24 22:01:41 +01:00
philippe lhardy
7d8ce42c15 create lab directory in parent
abstract MazeParams to be able to set them easily
doit.sh support new class creation
updated README

Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
2015-02-18 21:06:37 +01:00
philippe lhardy
bd4a6dfc29 add a shell script to code & run
Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
2015-02-09 20:48:08 +01:00
philippe lhardy
a041e3d82c code factorization for direction buttons
Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
2014-12-27 18:56:03 +01:00
philippe lhardy
850744326a initial commit for labryinth project on git_hub.
Signed-off-by: philippe lhardy <philippe@pavilionartlogiciel>
2014-12-24 17:28:23 +01:00