Skip to content
Ruby solutions to the Advent of Code daily challenge
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Advent of Code

A repository for the daily Advent of Code challenges, with some utility scripts tossed in.

  1. The new challenge is released at 12am EST!
  2. bin/start
  3. If there's an input file, dump the contents into YYYY/DD/input.txt, where YYYY is the challenge year, and DD is the zero-padded challenge date.
  4. Write your solution code in YYYY/DD/code.rb. The input file is available as a String constant named INPUT.
  5. bin/run

bin/start and bin/run can have an explicit date passed to them, if you need/want to run the code for a different date (e.g., bin/run 2015/02).

You can’t perform that action at this time.