Commit Graph

  • 766a16c314 remove unused import Stefan Harmuth 2021-12-05 07:38:46 +0100
  • 311cb9edba Coordinate: remember the 3rd dimension ... Stefan Harmuth 2021-12-05 07:36:38 +0100
  • 2b19538fb2 Coordinate.getLineTo(): return coordinates in a line from self to target Stefan Harmuth 2021-12-05 07:16:40 +0100
  • 122f1e768e grid.Grid(): let set() not track default values not present in OFF_STATES Stefan Harmuth 2021-12-05 06:46:43 +0100
  • e2d36cbde6 grid.Grid: let add() and sub() use self.set() instead of reimplementing part of it. Also makes sure default values aren't part of the dict anymore. Stefan Harmuth 2021-12-05 06:45:35 +0100
  • 8f024354e6 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2021-12-05 05:58:58 +0100
  • f6e9cfb4af AOCDay.getMultilineInputArray(): work with an input-copy ... Stefan Harmuth 2021-12-05 05:58:53 +0100
  • 6c14f6bb50 Merge remote-tracking branch 'origin/master' Stefan Harmuth 2021-12-03 17:01:24 +0100
  • da791d3ec5 Grid.set() sets pos to True by default Stefan Harmuth 2021-12-03 17:01:19 +0100
  • 1c87545892 AOCDay.getInput() always return a copy, never a reference to self.input Stefan Harmuth 2021-12-03 06:56:17 +0100
  • d0c5e319fb more type annotations Stefan Harmuth 2021-12-02 06:22:33 +0100
  • c7b8c6ead6 type annotations Stefan Harmuth 2021-12-02 06:21:27 +0100
  • ef0da77133 aoc.splitline(): allow return fields to have different types Stefan Harmuth 2021-12-02 06:20:34 +0100
  • b8e54f51f5 better compare(), especially now it's doing what's expected (and documented) Stefan Harmuth 2021-12-02 05:17:29 +0100
  • 5e3d5d1156 streamline input getting Stefan Harmuth 2021-12-01 02:49:15 +0100
  • 70dd7657ec tools.compare(): a <> b => -1/0/1 aoc.printSolution(): better readable test output Stefan Harmuth 2021-12-01 02:30:04 +0100
  • 91e2477328 welcome to the 3D world Stefan Harmuth 2021-11-30 13:24:05 +0100
  • 0c0a9a7eb1 grid transformations Stefan Harmuth 2021-11-30 12:46:25 +0100
  • 37211190dd add/sub coordinates Stefan Harmuth 2021-11-30 12:11:36 +0100
  • 02b4f869b9 angling away Stefan Harmuth 2021-11-30 01:02:57 +0100
  • fc0178288e Coordinate.generate(): get list of coordinates from x1,y1 to x2,y2 Grid(): expose boundaries Grid.isWithinBoundaries(): check if Coordinate is within boundaries Grid.getActiveCells(): get all Coordinates within Grid() with a value Stefan Harmuth 2021-11-29 16:40:01 +0100
  • 6bf5835488 output reorder Stefan Harmuth 2021-11-27 17:03:42 +0100
  • 263b343b24 having fun with paths Stefan Harmuth 2021-11-26 07:53:56 +0100
  • 96dbd7a323 don't treat whole repo as a single package Stefan Harmuth 2021-11-26 07:33:38 +0100
  • 2713c66a34 move aoc thingy from year-by-year to central tool lib Stefan Harmuth 2021-11-26 07:30:06 +0100
  • 78b5f7b6c8 setup.py Stefan Harmuth 2021-11-21 13:27:49 +0100
  • 8221403ed0 grids \o/ Stefan Harmuth 2021-10-22 18:46:28 +0200
  • abcc9f32e4 __init__ Stefan Harmuth 2021-10-22 17:35:30 +0200
  • fb30236fd8 coordinates \o/ Stefan Harmuth 2021-10-22 17:35:00 +0200