Commit Graph

10 Commits

Author SHA1 Message Date
Karma Riuk
144d3c2aed Added a logging system to show home much time it
took to do a certain part of the program
2023-08-10 19:38:43 +02:00
Karma Riuk
7e86e29e82 Moved RawMaze to reader package since it is used
mostly there
2023-08-05 16:36:49 +02:00
Karma Riuk
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
Karma Riuk
221bcf2695 Reader -> Reader+Parser refactoring: moved the
reading of the lines to its own function
2023-08-05 11:03:42 +02:00
Karma Riuk
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
Karma Riuk
cfa683dc83 Start of refactoring for reader+parser: read all
the lines before starting to parse
2023-08-05 10:01:34 +02:00
Karma Riuk
cc85f5606f moved instructions around to make it more
consistent and fixed tiny bug
2023-08-05 09:38:12 +02:00
Karma Riuk
4c34019acc Added missing logic to text reader and tested it 2023-08-04 23:53:34 +02:00
Karma Riuk
7c7c2d04d4 Removed useless print statements 2023-08-04 23:05:16 +02:00
Karma Riuk
4d25743ee5 Written the first version of a text reader, with
tests
2023-08-04 21:05:28 +02:00