Skip to content

About

This repository contains my approaches to solve the puzzles of the advent of code challenges.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

920 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

CircleCI

This repository contains my approaches to solve the puzzles of the Advent of Code, written in Ruby and developed test-first.

Contents

  • 2023/ – 2026/: one directory per year, one subdirectory per day, e.g. 2025/Day_11_Reactor/.
  • Each day contains (since 2025):
    • README.md – the puzzle description
    • sample_input.txt – the example from the description
    • input.txt – my personal puzzle input
    • lib/ – the implementation
    • test/ – Minitest tests
    • <puzzle>.rb – script that prints the answers for sample and puzzle input
  • CLAUDE.md – conventions for commit messages

Setup

  • Ruby (currently 4.0). Minitest ships with Ruby as a bundled gem, so nothing else needs to be installed. If it is missing anyway, install it with gem install minitest.

Usage

Run the tests of a day:

ruby 2025/Day_11_Reactor/test/graph_test.rb

Compute the answers:

ruby 2025/Day_11_Reactor/reactor.rb

About

This repository contains my approaches to solve the puzzles of the advent of code challenges.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages