/advent-of-code

Solutions to the Advent of Code puzzles

Primary LanguageRuby

Solutions to the Advent of Code

Ruby Setup

  1. Install ruby

  2. Install bundler

    gem install bundler
  3. Install project dependencies

    bundle install
  4. Run a solution

    # ruby index.rb solve <YEAR> <DAY> <PUZZLE_ARGS>
    ruby index.rb solve 2020 1 2

Node.js Setup

  1. Install Node.js

  2. Run a solution

    # node path/to/puzzle <PUZZLE_ARGS>
    node 2020/1/index.js 2