Commit Graph

12 Commits

Author SHA1 Message Date
Karma Riuk
3c7c181911 Fixed failing tests 2023-08-11 13:48:39 +02:00
Karma Riuk
fb59c890ca Corrected some bugs for when it came to parsing
and writing mazes
2023-08-10 19:13:24 +02:00
Karma Riuk
18f37e65ed added new maze (15x15) for testing purposes 2023-08-10 19:11:15 +02:00
Karma Riuk
4852aece8a 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
Karma Riuk
c77e3f514a Removed TODO commment that was done 2023-08-09 10:14:45 +02:00
Karma Riuk
f085efa2fe fixed name of file name in comment 2023-08-09 10:14:29 +02:00
Karma Riuk
92ba1b48e4 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
Karma Riuk
b6dff509f9 Fixed parser 2023-08-07 17:43:35 +02:00
Karma Riuk
bfc370bdda Removed useless prints in parser_test 2023-08-07 17:43:01 +02:00
Karma Riuk
8b0fa4c1f9 Moved RawMaze to reader package since it is used
mostly there
2023-08-05 16:36:49 +02:00
Karma Riuk
0e42c0f15d 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
Karma Riuk
ab6f85b7b6 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