Karma Riuk
5a0bac6b90
feat: Implemented visualizer
2023-08-17 13:37:54 +02:00
Karma Riuk
4f79d6f1ed
Removed useless print statements
2023-08-14 15:09:24 +02:00
Karma Riuk
346cfe9705
Finally written some good tests for the image writer
2023-08-14 15:08:27 +02:00
Karma Riuk
69afaed1bf
fixed lil mistake eheh
2023-08-11 14:34:12 +02:00
Karma Riuk
908e8c14fb
Commented out image writer tests cuz i gotta think
...
of a good way to do them :)
2023-08-11 14:31:51 +02:00
Karma Riuk
a7dd3e1a81
Added argument parsing to run the solver correctly
2023-08-11 12:30:37 +02:00
Karma Riuk
a80e2c9cc3
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
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
0f05998295
Changed type of maze in SolvedMaze to pointer, to
...
not copy the entire maze by value
2023-08-10 10:30:37 +02:00
Karma Riuk
99fc6ba48a
renamed assets so that they are more consistent
2023-08-09 19:54:38 +02:00
Karma Riuk
1cfd92593f
implemented image reader
2023-08-09 19:51:23 +02:00
Karma Riuk
41e665c169
Written the ImageWriter
2023-08-09 17:44:59 +02:00
Karma Riuk
acf8aff469
Moved the generation of the solved mazes into its
...
own file since they are needed for both ImageWriter and StringsWriter
2023-08-09 17:42:53 +02:00
Karma Riuk
fd17cb3526
Added description comments
2023-08-09 17:41:44 +02:00
Karma Riuk
4949e5fa21
Updated writer interface and wrote the strings
...
writer
2023-08-09 10:21:11 +02:00
Karma Riuk
58787dc4af
moved assertEquals to utils so that other tests
...
can use it
2023-08-07 18:18:25 +02:00
Karma Riuk
3d4a2b9bfb
Re-enabled text_test.go
2023-08-07 18:09:58 +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
be688e6920
Reader -> Reader+Parser refactoring: added tests
...
for new reader
2023-08-05 11:21:32 +02:00
Karma Riuk
929c5b58a0
Reader -> Reader+Parser refactoring: moved the
...
reading of the lines to its own function
2023-08-05 11:03:42 +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
Karma Riuk
e04aad4b77
Start of refactoring for reader+parser: read all
...
the lines before starting to parse
2023-08-05 10:01:34 +02:00
Karma Riuk
345d9267ad
moved instructions around to make it more
...
consistent and fixed tiny bug
2023-08-05 09:38:12 +02:00
Karma Riuk
ff28832f72
Added missing logic to text reader and tested it
2023-08-04 23:53:34 +02:00
Karma Riuk
f46af33702
Added a new test case for text reader
2023-08-04 23:06:37 +02:00
Karma Riuk
c2d16a4d20
Removed useless print statements
2023-08-04 23:05:16 +02:00
Karma Riuk
77aa385918
Written the first version of a text reader, with
...
tests
2023-08-04 21:05:28 +02:00
Karma Riuk
898d8463c8
Drawn the skeleton code for the structure of the project
2023-08-03 21:07:58 +02:00