Commit Graph

  • cffc3b5939 Moved the generation of the solved mazes into its own file since they are needed for both ImageWriter and StringsWriter Karma Riuk 2023-08-09 17:42:53 +0200
  • fd17cb3526 Added description comments Karma Riuk 2023-08-09 17:41:44 +0200
  • 235814a418 Added description comments Karma Riuk 2023-08-09 17:41:44 +0200
  • 4949e5fa21 Updated writer interface and wrote the strings writer Karma Riuk 2023-08-09 10:21:11 +0200
  • 4fa1bc3206 Updated writer interface and wrote the strings writer Karma Riuk 2023-08-09 10:21:11 +0200
  • 4852aece8a Made the maze generation part of normal.txt a bit shorter and more readable (or at least i hope so) Karma Riuk 2023-08-09 10:17:00 +0200
  • 94a18102df Made the maze generation part of normal.txt a bit shorter and more readable (or at least i hope so) Karma Riuk 2023-08-09 10:17:00 +0200
  • c77e3f514a Removed TODO commment that was done Karma Riuk 2023-08-09 10:14:45 +0200
  • 805aac2681 Removed TODO commment that was done Karma Riuk 2023-08-09 10:14:45 +0200
  • f085efa2fe fixed name of file name in comment Karma Riuk 2023-08-09 10:14:29 +0200
  • 3407aa4ed8 fixed name of file name in comment Karma Riuk 2023-08-09 10:14:29 +0200
  • 92ba1b48e4 Forgot to put the width and height of the maze when I parsed it, oops (and now it's tested) Karma Riuk 2023-08-07 18:22:04 +0200
  • 104419b239 Forgot to put the width and height of the maze when I parsed it, oops (and now it's tested) Karma Riuk 2023-08-07 18:22:04 +0200
  • 58787dc4af moved assertEquals to utils so that other tests can use it Karma Riuk 2023-08-07 18:18:25 +0200
  • 6b045e25e0 moved assertEquals to utils so that other tests can use it Karma Riuk 2023-08-07 18:18:25 +0200
  • 3d4a2b9bfb Re-enabled text_test.go Karma Riuk 2023-08-07 18:09:58 +0200
  • 36051b06f6 Re-enabled text_test.go Karma Riuk 2023-08-07 18:09:58 +0200
  • b6dff509f9 Fixed parser Karma Riuk 2023-08-07 17:43:35 +0200
  • 19f83899be Fixed parser Karma Riuk 2023-08-07 17:43:35 +0200
  • bfc370bdda Removed useless prints in parser_test Karma Riuk 2023-08-07 17:43:01 +0200
  • 3f8f0a2e92 Removed useless prints in parser_test Karma Riuk 2023-08-07 17:43:01 +0200
  • 8b0fa4c1f9 Moved RawMaze to reader package since it is used mostly there Karma Riuk 2023-08-05 16:36:49 +0200
  • 7e86e29e82 Moved RawMaze to reader package since it is used mostly there Karma Riuk 2023-08-05 16:36:49 +0200
  • 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) Karma Riuk 2023-08-05 16:18:03 +0200
  • 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) Karma Riuk 2023-08-05 16:18:03 +0200
  • 6481fe2665 Added min function to utils to get min between two comparable types (how isn't it in the STL?) Karma Riuk 2023-08-05 16:15:54 +0200
  • e2b0b09636 Added min function to utils to get min between two comparable types (how isn't it in the STL?) Karma Riuk 2023-08-05 16:15:54 +0200
  • ee9d439485 Added isWall and isPath to RawMaze with tests Karma Riuk 2023-08-05 12:02:42 +0200
  • 71c841bfef Added isWall and isPath to RawMaze with tests Karma Riuk 2023-08-05 12:02:42 +0200
  • 130deb40d8 Reader -> Reader+Parser refactoring: main.go now uses the new structure Karma Riuk 2023-08-05 12:01:29 +0200
  • 0bee145c8e Reader -> Reader+Parser refactoring: main.go now uses the new structure Karma Riuk 2023-08-05 12:01:29 +0200
  • c8e517f73c Moved RaMaze to its own file, cuz we gonna need some more functions and it would just clutter maze.go Karma Riuk 2023-08-05 11:25:32 +0200
  • 5445d28b2c Moved RaMaze to its own file, cuz we gonna need some more functions and it would just clutter maze.go Karma Riuk 2023-08-05 11:25:32 +0200
  • be688e6920 Reader -> Reader+Parser refactoring: added tests for new reader Karma Riuk 2023-08-05 11:21:32 +0200
  • fccfde890a Reader -> Reader+Parser refactoring: added tests for new reader Karma Riuk 2023-08-05 11:21:32 +0200
  • 435ea54343 Added String() method to RawMaze for debugging purposes Karma Riuk 2023-08-05 11:20:53 +0200
  • 19ab3c9cf3 Added String() method to RawMaze for debugging purposes Karma Riuk 2023-08-05 11:20:53 +0200
  • 929c5b58a0 Reader -> Reader+Parser refactoring: moved the reading of the lines to its own function Karma Riuk 2023-08-05 10:48:41 +0200
  • 221bcf2695 Reader -> Reader+Parser refactoring: moved the reading of the lines to its own function Karma Riuk 2023-08-05 10:48:41 +0200
  • 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) Karma Riuk 2023-08-05 10:38:46 +0200
  • 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) Karma Riuk 2023-08-05 10:38:46 +0200
  • e04aad4b77 Start of refactoring for reader+parser: read all the lines before starting to parse Karma Riuk 2023-08-05 10:01:34 +0200
  • cfa683dc83 Start of refactoring for reader+parser: read all the lines before starting to parse Karma Riuk 2023-08-05 10:01:34 +0200
  • 345d9267ad moved instructions around to make it more consistent and fixed tiny bug Karma Riuk 2023-08-05 09:38:12 +0200
  • cc85f5606f moved instructions around to make it more consistent and fixed tiny bug Karma Riuk 2023-08-05 09:38:12 +0200
  • ff28832f72 Added missing logic to text reader and tested it Karma Riuk 2023-08-04 23:53:34 +0200
  • 4c34019acc Added missing logic to text reader and tested it Karma Riuk 2023-08-04 23:53:34 +0200
  • f46af33702 Added a new test case for text reader Karma Riuk 2023-08-04 23:05:56 +0200
  • dbcaf137ef Added a new test case for text reader Karma Riuk 2023-08-04 23:05:56 +0200
  • c2d16a4d20 Removed useless print statements Karma Riuk 2023-08-04 23:05:16 +0200
  • 7c7c2d04d4 Removed useless print statements Karma Riuk 2023-08-04 23:05:16 +0200
  • 77aa385918 Written the first version of a text reader, with tests Karma Riuk 2023-08-04 21:05:28 +0200
  • 4d25743ee5 Written the first version of a text reader, with tests Karma Riuk 2023-08-04 21:05:28 +0200
  • a4d2dc99af Updated gitignore Karma Riuk 2023-08-04 21:05:14 +0200
  • 547137a3cd Updated gitignore Karma Riuk 2023-08-04 21:05:14 +0200
  • 4e4dde7ba8 Changed the structure of the Maze struct Karma Riuk 2023-08-04 19:11:26 +0200
  • 0ff76d6dff Changed the structure of the Maze struct Karma Riuk 2023-08-04 19:11:26 +0200
  • fb99f77c4f Renamed maze-solver.go to main.go Karma Riuk 2023-08-04 19:11:00 +0200
  • 63b365bceb Renamed maze-solver.go to main.go Karma Riuk 2023-08-04 19:11:00 +0200
  • 898d8463c8 Drawn the skeleton code for the structure of the project Karma Riuk 2023-08-03 21:07:58 +0200
  • fbe066db17 Drawn the skeleton code for the structure of the project Karma Riuk 2023-08-03 21:07:58 +0200
  • ae8ea353ca initalized go project Karma Riuk 2023-08-03 20:08:52 +0200
  • 6d81f34a7c initalized go project Karma Riuk 2023-08-03 20:08:52 +0200
  • e932e370d7
    Initial commit Arnaud 'Karma' Fauconnet 2023-08-03 20:05:01 +0200
  • 75a1fe463f Initial commit Arnaud 'Karma' Fauconnet 2023-08-03 20:05:01 +0200