Commit Graph

114 Commits

Author SHA1 Message Date
Stefan Müller 01267c8f79 Refactored TPointOfIncidence to better unify the algorithm for both parts 2023-12-14 00:52:28 +01:00
Stefan Müller 307eb14b55 Added solution for "Day 13: Point of Incidence", part 2 2023-12-14 00:32:27 +01:00
Stefan Müller 6b888a3f68 Added solution for "Day 13: Point of Incidence", part 1 2023-12-13 18:46:38 +01:00
Stefan Müller d32297782c Fixed unused variables in THotSprings 2023-12-13 18:37:56 +01:00
Stefan Müller 64eeb98e85 Added solution for "Day 12: Hot Springs", part 1 2023-12-12 15:47:58 +01:00
Stefan Müller 8b13ad992b Added solution for "Day 11: Cosmic Expansion", part 2 2023-12-11 16:45:56 +01:00
Stefan Müller 5bd814a381 Added solution for "Day 11: Cosmic Expansion", part 1 2023-12-11 16:21:26 +01:00
Stefan Müller cbce1ce794 Added more char constants for TPipeMaze 2023-12-11 15:22:54 +01:00
Stefan Müller d1ae6d0404 Updated readme with FPC/Lazarus version details and more commentary 2023-12-11 15:13:47 +01:00
Stefan Müller 344be871db Added solution for "Day 10: Pipe Maze", part 2 2023-12-11 15:03:01 +01:00
Stefan Müller ac81b20db5 Added solution for "Day 10: Pipe Maze", part 1 2023-12-10 12:23:20 +01:00
Stefan Müller d10ad23a4b Fixed formatting 2023-12-10 10:48:49 +01:00
Stefan Müller 1d58d947ef Updated puzzle commentary 2023-12-10 10:33:31 +01:00
Stefan Müller 7461ab7536 Added commentary for a some of the solved puzzles 2023-12-09 23:53:06 +01:00
Stefan Müller 09baefc881 Added solution for "Day 9: Mirage Maintenance", part 2 2023-12-09 23:11:37 +01:00
Stefan Müller f69d60e5db Added solution for "Day 9: Mirage Maintenance", part 1 2023-12-09 23:10:27 +01:00
Stefan Müller f1b1439524 Added solution for "Day 8: Haunted Wasteland", part 2 2023-12-09 14:46:35 +01:00
Stefan Müller edf9cf3d72 Added new unit with calculations of GCD and LCM 2023-12-09 14:46:06 +01:00
Stefan Müller 7baf255fda Changed result type in ISolver from Cardinal to Int64 for Day 8, part 2 2023-12-09 14:44:47 +01:00
Stefan Müller 269643ad2a Refactored the Trebuchet test cases 2023-12-09 01:00:36 +01:00
Stefan Müller 95e06e2b10 Added solution for "Day 8: Haunted Wasteland", part 1 2023-12-09 00:59:18 +01:00
Stefan Müller 6b5048b7ef Added solution for "Day 7: Camel Cards", part 2 2023-12-07 17:58:54 +01:00
Stefan Müller 3f74b7c664 Added solution for "Day 7: Camel Cards", part 1 2023-12-07 17:08:15 +01:00
Stefan Müller 17a34bbdc6 Fixed explicit member scope in TWaitForIt 2023-12-07 17:07:39 +01:00
Stefan Müller 2af4cf78b5 Added solution for "Day 6: Wait For It", part 2 2023-12-06 12:45:23 +01:00
Stefan Müller 93f6ceb1db Added solution for "Day 6: Wait For It", part 1 2023-12-06 12:26:19 +01:00
Stefan Müller 94bc00ab1c Fixed file location of UGiveSeedFertilizer.pas 2023-12-06 01:15:44 +01:00
Stefan Müller 26561ba421 Added solution for "Day 5: If You Give A Seed A Fertilizer", part 2 2023-12-06 01:12:26 +01:00
Stefan Müller 474cfa6cc3 Updated solution for "Day 5: If You Give A Seed A Fertilizer", part 1, to process the data just in time instead of preloading all of it 2023-12-05 18:14:14 +01:00
Stefan Müller e68701333b Added test cases for "Trebuchet" and "Cube Conundrum" 2023-12-05 17:21:21 +01:00
Stefan Müller 9ab9dcfb51 Updated "Trebuchet?!" to use the solver-engine framework 2023-12-05 16:58:44 +01:00
Stefan Müller 2e13199796 Updated "Cube Conundrum" to use the solver-engine framework 2023-12-05 15:45:57 +01:00
Stefan Müller c9e9eca35a Added solution for "Day 5: If You Give A Seed A Fertilizer", part 1 2023-12-05 14:44:32 +01:00
Stefan Müller 931b4b60f9 Changed result fields to be Cardinal instead of Integer 2023-12-05 14:41:14 +01:00
Stefan Müller e04577725b Refactored tests in to facilitate loading example data from file 2023-12-05 12:19:41 +01:00
Stefan Müller 5c0aa1e584 Removed FPCUnit ini settings file 2023-12-04 22:00:30 +01:00
Stefan Müller cc868a6c0a Added solution for "Day 4: Scratchcards", part 2 2023-12-04 21:59:39 +01:00
Stefan Müller 85d8cafedd Added heap trace back in 2023-12-04 17:47:58 +01:00
Stefan Müller 4d81ae40d5 Added solution for "Day 4: Scratchcards", part 1 2023-12-04 17:47:19 +01:00
Stefan Müller 5bfbc83b13 Refactored test cases 2023-12-04 17:02:33 +01:00
Stefan Müller 9c4fb8b63a Added solution for "Day 3: Gear Ratios", part 2 2023-12-04 16:34:26 +01:00
Stefan Müller 015b823376 Updated test cases for "Day 3: Gear Ratios" 2023-12-04 16:32:48 +01:00
Stefan Müller 05e4944521 Added relative data path to TSolverEngine for testing 2023-12-04 16:29:32 +01:00
Stefan Müller afa393a168 Changed TSolverEngine method arguments from constref to const 2023-12-04 16:28:06 +01:00
Stefan Müller ca294c03f9 Changed visibility of TSolverEngine.ProcessData for testing 2023-12-04 16:26:45 +01:00
Stefan Müller 132c19d018 Updated test project settings 2023-12-04 16:22:00 +01:00
Stefan Müller 4027c3a712 Added solution for "Day 3: Gear Ratios", part 1, and added test project 2023-12-03 23:52:54 +01:00
Stefan Müller 83f6cdd3ad Added ISolver, TSolver, TSolverEngine for the next puzzle solver 2023-12-03 17:55:00 +01:00
Stefan Müller 2e4ab2ad5f Renamed folder for puzzle solvers 2023-12-03 17:00:41 +01:00
Stefan Müller a276c7f3f6 Updated readme 2023-12-03 01:55:36 +01:00