Skip to content

Commit

Permalink
Solve Day 22 (#38)
Browse files Browse the repository at this point in the history
* Setup Day 22

* Solve part 1

* Update readme to include part 2

* remove focus

* wip day 22

* Use qualified imports

* resolve part 1

* solve part 2

* use explicit imports
  • Loading branch information
manuphatak committed Jan 18, 2021
1 parent 9b9515e commit 70443bf
Show file tree
Hide file tree
Showing 8 changed files with 621 additions and 2 deletions.
2 changes: 2 additions & 0 deletions AdventOfCode2020.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ library
Day19.Solution
Day20.Solution
Day21.Solution
Day22.Solution
Day24.Solution
Practice.Foldable
Template.Solution
Expand Down Expand Up @@ -104,6 +105,7 @@ test-suite AdventOfCode2020-test
Day19.SolutionSpec
Day20.SolutionSpec
Day21.SolutionSpec
Day22.SolutionSpec
Day24.SolutionSpec
Practice.FoldableSpec
Template.SolutionSpec
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ Solutions to adventofcode.com/2020
| [PR #32](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/32) | Day 19: Monster Messages | [src/Day19/Solution.hs](src/Day19/Solution.hs) | [test/Day19/SolutionSpec.hs](test/Day19/SolutionSpec.hs) |
| [PR #34](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/34) | Day 20: Jurassic Jigsaw | [src/Day20/Solution.hs](src/Day20/Solution.hs) | [test/Day20/SolutionSpec.hs](test/Day20/SolutionSpec.hs) |
| [PR #35](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/35) | Day 21: Allergen Assessment | [src/Day21/Solution.hs](src/Day21/Solution.hs) | [test/Day21/SolutionSpec.hs](test/Day21/SolutionSpec.hs) |
| [PR #38](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/38) | Day 22: Crab Combat | `[in progress, 1 star ]` | `[in progress]` |
| [PR #38](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/38) | Day 22: Crab Combat | [src/Day22/Solution.hs](src/Day22/Solution.hs) | [test/Day22/SolutionSpec.hs](test/Day22/SolutionSpec.hs) |
| [PR #40](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/40) | Day 23: Crab Cups | `[in progress, 2 stars]` | `[in progress]` |
| [PR #44](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/44) | Day 24: Lobby Layout | [src/Day24/Solution.hs](src/Day24/Solution.hs) | [test/Day24/SolutionSpec.hs](test/Day24/SolutionSpec.hs) |
| [PR #45](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/45) | Day 25: Combo Breaker | `[in progress, 1 star ]` | `[in progress]` |

<!-- | [PR #25](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/25) | Day 15: Rambunctious Recitation | [src/Day15/Solution.hs](src/Day15/Solution.hs) | [test/Day15/SolutionSpec.hs](test/Day15/SolutionSpec.hs) | -->
<!-- | [PR #38](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/38) | Day 22: Crab Combat | [src/Day22/Solution.hs](src/Day22/Solution.hs) | [test/Day22/SolutionSpec.hs](test/Day22/SolutionSpec.hs) | -->
<!-- | [PR #40](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/40) | Day 23: Crab Cups | [src/Day23/Solution.hs](src/Day23/Solution.hs) | [test/Day23/SolutionSpec.hs](test/Day23/SolutionSpec.hs) | -->
<!-- | [PR #45](https://github.com/manuphatak/HaskellAdventOfCode2020/pull/45) | Day 25: Combo Breaker | [src/Day25/Solution.hs](src/Day25/Solution.hs) | [test/Day25/SolutionSpec.hs](test/Day25/SolutionSpec.hs) | -->

Expand Down
Loading

0 comments on commit 70443bf

Please sign in to comment.