Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/chaelcodes/advent-of-code-2021
- Owner: ChaelCodes
- Created: 2021-12-01T00:20:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-05T18:50:36.000Z (about 3 years ago)
- Last Synced: 2024-12-10T03:06:07.916Z (24 days ago)
- Topics: advent-of-code, advent-of-code-2021, ruby
- Language: Ruby
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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