408b4c84c4
refactor: removed map for visited and added field to node
2023-08-15 15:41:24 +02:00
cf5286d1c2
Fixed failing tests
2023-08-11 13:48:39 +02:00
42cc4f8717
Corrected some bugs for when it came to parsing
...
and writing mazes
2023-08-10 19:13:24 +02:00
3ef61967a5
added new maze (15x15) for testing purposes
2023-08-10 19:11:15 +02:00
d1d3ed1c73
Changed type of maze in SolvedMaze to pointer, to
...
not copy the entire maze by value
2023-08-10 10:30:37 +02:00
9e7c6b5e24
Written the ImageWriter
2023-08-09 17:44:59 +02:00
94a18102df
Made the maze generation part of normal.txt a bit
...
shorter and more readable (or at least i hope so)
2023-08-09 10:17:00 +02:00
805aac2681
Removed TODO commment that was done
2023-08-09 10:14:45 +02:00
3407aa4ed8
fixed name of file name in comment
2023-08-09 10:14:29 +02:00
104419b239
Forgot to put the width and height of the maze
...
when I parsed it, oops (and now it's tested)
2023-08-07 18:22:04 +02:00
19f83899be
Fixed parser
2023-08-07 17:43:35 +02:00
3f8f0a2e92
Removed useless prints in parser_test
2023-08-07 17:43:01 +02:00
7e86e29e82
Moved RawMaze to reader package since it is used
...
mostly there
2023-08-05 16:36:49 +02:00
fa4c13812d
Reader -> Reader+Parser refactoring: COMPLETE
...
Added a string reader too so that one can create a maze just with a slice of stings and RawMaze now has chunks of bytes to limit memory usage with big mazes (hopefully)
2023-08-05 16:21:56 +02:00
71c841bfef
Added isWall and isPath to RawMaze with tests
2023-08-05 12:02:42 +02:00
5445d28b2c
Moved RaMaze to its own file, cuz we gonna need
...
some more functions and it would just clutter maze.go
2023-08-05 11:29:53 +02:00
19ab3c9cf3
Added String() method to RawMaze for debugging
...
purposes
2023-08-05 11:20:53 +02:00
fcb2bc0d51
Reader -> Reader+Parser refacfotring: create the
...
parser package, moved the parsing aspect of reader
to parser (still have some naughty stuff like
WallChar and PathChar in parser but it'll be fixed
in next commit)
2023-08-05 10:38:46 +02:00
0ff76d6dff
Changed the structure of the Maze struct
2023-08-04 19:11:26 +02:00
fbe066db17
Drawn the skeleton code for the structure of the project
2023-08-03 21:07:58 +02:00