https://github.com/hainesr/aoc-2020
My attempts at Advent of Code 2020.
https://github.com/hainesr/aoc-2020
advent-of-code advent-of-code-2020 ruby
Last synced: 2 months ago
JSON representation
My attempts at Advent of Code 2020.
- Host: GitHub
- URL: https://github.com/hainesr/aoc-2020
- Owner: hainesr
- License: unlicense
- Created: 2020-12-01T21:52:39.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-30T17:20:44.000Z (over 5 years ago)
- Last Synced: 2025-01-14T14:58:04.692Z (over 1 year ago)
- Topics: advent-of-code, advent-of-code-2020, ruby
- Language: Ruby
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Advent of Code 2020
## Robert Haines
My attempt at doing [Advent of Code 2020](http://adventofcode.com/2020) in Ruby, with tests and all the trimmings.


[](https://codeclimate.com/github/hainesr/aoc-2020/maintainability)
### Usage
After cloning, and changing into the `aoc-2020` directory, run:
```shell
$ gem install bundler
$ bundle install
$ rake
```
This will set everything up and run all the tests.
To run the solution for a particular day:
```shell
$ ./aoc-2020
```
Or via `rake`:
```shell
$ rake run
```
You can run multiple days like this:
```shell
$ rake run ...
```
### Licence
[Public Domain](http://unlicense.org).