Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

My advent of code solutions
https://github.com/rickselby/advent-of-code

advent-of-code advent-of-code-2023 ruby

Last synced: 24 days ago
JSON representation

My advent of code solutions

Awesome Lists containing this project

README

        

# Advent of Code

Don't expect the best solutions here!

## Usage

### `rake create[year day part]`

Creates the following files for the given puzzle:
* `data/[year]/[day].txt`
* Copy your puzzle input here
* `lib/advent_of_code/year[year]/day[day]/part[part].rb`
* `spec/advent_of_code/year[year]/day[day]/part[part]_spec.rb`

### `rake run[year day part]`

Runs the code against the input (`data/[year]/[day].txt`) and returns the result.

## Progress

### 2023
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

⭐❔⭐❔

## Things to investigate

* 2023, Day 17: Dijkstra's algorithm / A* algorithms
* which I think I kind of implemented? but presumably suboptimally...
* 2023, Day 18: [Shoelace algorithm](https://www.themathdoctors.org/polygon-coordinates-and-areas/)