Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 13 days ago
JSON representation
My advent of code solutions
- Host: GitHub
- URL: https://github.com/rickselby/advent-of-code
- Owner: rickselby
- Created: 2023-12-08T14:50:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T07:57:55.000Z (30 days ago)
- Last Synced: 2025-01-13T08:35:49.186Z (30 days ago)
- Topics: advent-of-code, advent-of-code-2023, ruby
- Language: Ruby
- Homepage: https://adventofcode.com
- Size: 383 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
### 2024
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐### 2023
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐❔⭐❔### 2015
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
⭐⭐⭐⭐## 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/)
* 2024, Day 18: better path finding algorithm!