Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathankleyn/advent-of-code-2015
My attempts at the Advent Of Code 2015 exercises!
https://github.com/nathankleyn/advent-of-code-2015
advent-of-code advent-of-code-2015 ruby
Last synced: 1 day ago
JSON representation
My attempts at the Advent Of Code 2015 exercises!
- Host: GitHub
- URL: https://github.com/nathankleyn/advent-of-code-2015
- Owner: nathankleyn
- License: mit
- Created: 2015-12-08T21:25:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-24T17:03:27.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T19:15:59.370Z (7 months ago)
- Topics: advent-of-code, advent-of-code-2015, ruby
- Language: Ruby
- Homepage: http://adventofcode.com/2015
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent Of Code 2015
My attempts at the Advent Of Code 2015 exercises! Solutions are in Ruby, with the intention to rewrite in Rust and Haskell at some point for fun and profit.
## Running Solutions
### Ruby
Each day of the exercise is in its own module, with a class for each day:
```ruby
module AdventOfCode
module Day1
# Solution to the exercise from Day 1 (http://adventofcode.com/day/1).
# This is part 1.
class Part1
# ...
end
end
end
```Both the solution and the examples have tests written in RSpec, which can be run with `bundle exec rspec` within the `ruby` directory.