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: 24 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 (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T12:24:20.000Z (about 2 months ago)
- Last Synced: 2024-09-14T22:39:59.034Z (about 2 months ago)
- Topics: advent-of-code, advent-of-code-2023, ruby
- Language: Ruby
- Homepage: https://adventofcode.com
- Size: 283 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
### 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/)