Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chaelcodes/advent-of-code-2021

[Advent of Code](https://adventofcode.com/2021) is a yearly challenge of coding puzzles! You parse a text file to come up with one short answer.
https://github.com/chaelcodes/advent-of-code-2021

advent-of-code advent-of-code-2021 ruby

Last synced: 17 days ago
JSON representation

[Advent of Code](https://adventofcode.com/2021) is a yearly challenge of coding puzzles! You parse a text file to come up with one short answer.

Awesome Lists containing this project

README

        

# Description
This repository tracks Chael's solutions to [Advent of Code 2021](https://adventofcode.com/2021)! I'm trying to get as many days solved as possible, and not necessarily trying to get the most stars or points. All solutions will (hopefully) be uploaded on YouTube!

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

# Installation
1. run `rbenv install` to install ruby 3
1. run `gem install bundler` for version management
1. run `bundle install` to install gems (mostly RSpec)

# Usage
There are two ways to run a solution.

1. `ruby ./days/day_one.rb` This runs as a script
1. `bundle exec rspec spec/day_one_spec.rb` This runs the test suite with descriptive output