Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/russmatney/advent-of-code


https://github.com/russmatney/advent-of-code

advent-of-code adventofcode clojure

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

#+TITLE: Advent of Code - Clojure

[[./badges/2015.svg]]
[[./badges/2020.svg]]
[[./badges/2021.svg]]
[[./badges/2022.svg]]
[[./badges/2023.svg]]

* Other AOCs
- [[https://github.com/russmatney/advent-of-code-zig][advent-of-code-zig]]
- [[https://github.com/russmatney/advent-of-code-gerbil][advent-of-code-gerbil]]
- [[https://github.com/russmatney/advent-of-godot][advent-of-godot]]
* 2023
** [[file:src/_2023/_01/core.clj][Day 1]]: Trebuchet
** [[file:src/_2023/_02/core.clj][Day 2]]: Cubes
** [[file:src/_2023/_03/core.clj][Day 3]]: Part numbers
** [[file:src/_2023/_04/core.clj][Day 4]]: Card Copies
** [[file:src/_2023/_05/core.clj][Day 5]]: Seed Mapping
* 2022
** [[file:src/_2022/_01/core.clj][Day 1]]: Calorie Counting
** [[file:src/_2022/_02/core.clj][Day 2]]: Rock Paper Scissors
** [[file:src/_2022/_03/core.clj][Day 3]]: Rucksack Reorg
** [[file:src/_2022/_04/core.clj][Day 4]]: Camp Cleanup
** [[file:src/_2022/_05/core.clj][Day 5]]: Supply Stacks
** [[file:src/_2022/_06/core.clj][Day 6]]: Tuning Trouble
** [[file:src/_2022/_07/core.clj][Day 7]]: No Space Left On Device
** [[file:src/_2022/_08/core.clj][Day 8]]: Treetop Tree House
** [[file:src/_2022/_09/core.clj][Day 9]]: Rope Bridge
** [[file:src/_2022/_10/core.clj][Day 10]]: Cathode Ray Tube
** [[file:src/_2022/_11/core.clj][Day 11]]: Monkey Business
** [[file:src/_2022/_12/core.clj][Day 12]]: Hill Climbing Algorithm
** [[file:src/_2022/_13/core.clj][Day 13]]: Distress Signal
** [[file:src/_2022/_14/core.clj][Day 14]]: Regolith Reservoir
** [[file:src/_2022/_15/core.clj][Day 15]]: Beacon Exclusion Zone
** [[file:src/_2022/_16/core.clj][Day 16]]: Volcano?
** [[file:src/_2022/_17/core.clj][Day 17]]: Pyro Flow
** [[file:src/_2022/_18/core.clj][Day 18]]: Boiling Boulders
** [[file:src/_2022/_19/core.clj][Day 19]]: Not Enough Minerals
* 2021
** [[file:src/_2021/one/core.clj][Day 1]]: Depth increases
** [[file:src/_2021/two/core.clj][Day 2]]: Steering
** [[file:src/_2021/three/core.clj][Day 3]]: Binary Diagnostic
** [[file:src/_2021/four/core.clj][Day 4]]: Squid Bingo
** [[file:src/_2021/five/core.clj][Day 5]]: Hydrothermal Venting
** [[file:src/_2021/six/core.clj][Day 6]]: Lanternfish
** [[file:src/_2021/seven/core.clj][Day 7]]: Crab Alignment
** [[file:src/_2021/eight/core.clj][Day 8]]: Seven Segment Decoding
** [[file:src/_2021/nine/core.clj][Day 9]]: Basins
** [[file:src/_2021/ten/core.clj][Day 10]]: BRACKETS
** [[file:src/_2021/eleven/core.clj][Day 11]]: Octopus Flashes
** [[file:src/_2021/twelve/core.clj][Day 12]]: Cave Path
** [[file:src/_2021/thirteen/core.clj][Day 13]]: Folding
** [[file:src/_2021/fourteen/core.clj][Day 14]]: Polymer Insertion
** [[file:src/_2021/fifteen/core.clj][Day 15]]: Risky Path
** [[file:src/_2021/sixteen/core.clj][Day 16]]: Hexadecimal
** [[file:src/_2021/seventeen/core.clj][Day 17]]: Trick Shot
** [[file:src/_2021/eighteen/core.clj][Day 18]]: Snailfish
** [[file:src/_2021/nineteen/core.clj][Day 19]]:
** [[file:src/_2021/twenty/core.clj][Day 20]]:
** [[file:src/_2021/twentyone/core.clj][Day 21]]:
** [[file:src/_2021/twentytwo/core.clj][Day 22]]:
* 2020
** [[file:src/_2020/one/core.clj][Day 1]]: Sums to 2020
** [[file:src/_2020/two/core.clj][Day 2]]: Password Policy
** [[file:src/_2020/three/core.clj][Day 3]]: Slope Dreams
** [[file:src/_2020/four/core.clj][Day 4]]: The Midnight Parser
** [[file:src/_2020/five/core.clj][Day 5]]: Bored-ing Passes
** [[file:src/_2020/six/core.clj][Day 6]]: Sets'n'stuff
** [[file:src/_2020/seven/core.clj][Day 7]]: Bag Rules
** [[file:src/_2020/eight/core.clj][Day 8]]: Some stuff
** [[file:src/_2020/nine/core.clj][Day 9]]: Sums of last x numbers
** [[file:src/_2020/ten/core.clj][Day 10]]: Adapter hell
** [[file:src/_2020/eleven/core.clj][Day 11]]: Seat's taken
** [[file:src/_2020/twelve/core.clj][Day 12]]: Adrift
** [[file:src/_2020/thirteen/core.clj][Day 13]]: Bus Schedule
** [[file:src/_2020/fourteen/core.clj][Day 14]]: 6 feet and bit masks
** [[file:src/_2020/fifteen/core.clj][Day 15]]: Elf games
** [[file:src/_2020/sixteen/core.clj][Day 16]]: Tix
** [[file:src/_2020/seventeen/core.clj][Day 17]]: [[https://www.wikiwand.com/en/Cube_(film)][Cube (film)]]
** [[file:src/_2020/eighteen/core.clj][Day 18]]: New Maths
** [[file:src/_2020/nineteen/core.clj][Day 19]]: Instaparse!
** [[file:src/_2020/twenty/core.clj][Day 20]]: Monster Search
** [[file:src/_2020/twentyone/core.clj][Day 21]]: Allergens
** [[file:src/_2020/twentytwo/core.clj][Day 22]]: Crab Cards?
** [[file:src/_2020/twentythree/core.clj][Day 23]]: Crab Cups?
** [[file:src/_2020/twentyfour/core.clj][Day 24]]: Hex Tiles
** [[file:src/_2020/twentyfive/core.clj][Day 25]]: Finally

* bb tasks
** Cookie/session
A session is expected to be manually created and copied into
~resources/.session~. You can pull this in from the browser's inspector tools.
** Input downloading
Based on [[https://github.com/borkdude/advent-of-babashka-template/blob/main/bb/new_day.clj][Borkdude's advent of code template]].

The input file can be downloaded and written to the day's directory via:

#+begin_src sh
bb download-input 2022 2
#+end_src
** Badges
The badges were generated with code based on [[https://github.com/genmeblog/advent-of-code/blob/master/badges/badges.bb][genmeblog's advent of code repo]].

Note that you'll also need to copy the ~badges/aoc-favicon-base64~.