e2b0b09636
Added min function to utils to get min between two
...
comparable types (how isn't it in the STL?)
2023-08-05 16:15:54 +02:00
71c841bfef
Added isWall and isPath to RawMaze with tests
2023-08-05 12:02:42 +02:00
0bee145c8e
Reader -> Reader+Parser refactoring: main.go now
...
uses the new structure
2023-08-05 12:01:29 +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
fccfde890a
Reader -> Reader+Parser refactoring: added tests
...
for new reader
2023-08-05 11:21:32 +02:00
19ab3c9cf3
Added String() method to RawMaze for debugging
...
purposes
2023-08-05 11:20:53 +02:00
221bcf2695
Reader -> Reader+Parser refactoring: moved the
...
reading of the lines to its own function
2023-08-05 11:03:42 +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
cfa683dc83
Start of refactoring for reader+parser: read all
...
the lines before starting to parse
2023-08-05 10:01:34 +02:00
cc85f5606f
moved instructions around to make it more
...
consistent and fixed tiny bug
2023-08-05 09:38:12 +02:00
4c34019acc
Added missing logic to text reader and tested it
2023-08-04 23:53:34 +02:00
dbcaf137ef
Added a new test case for text reader
2023-08-04 23:06:37 +02:00
7c7c2d04d4
Removed useless print statements
2023-08-04 23:05:16 +02:00
4d25743ee5
Written the first version of a text reader, with
...
tests
2023-08-04 21:05:28 +02:00
547137a3cd
Updated gitignore
2023-08-04 21:05:14 +02:00
0ff76d6dff
Changed the structure of the Maze struct
2023-08-04 19:11:26 +02:00
63b365bceb
Renamed maze-solver.go to main.go
2023-08-04 19:11:00 +02:00
fbe066db17
Drawn the skeleton code for the structure of the project
2023-08-03 21:07:58 +02:00
6d81f34a7c
initalized go project
2023-08-03 20:08:52 +02:00
75a1fe463f
Initial commit
2023-08-03 20:05:01 +02:00