/aoc-2022-go

🎄 Advent of Code 2022 Puzzle Solutions in Go https://adventofcode.com/2022

Primary LanguageGo

Advent of Code 2022

Working through problems for Advent of Code 2022.

Using Go

Running

Use VS Code and open this project in a Dev Container without needing to install any tooling locally.

Inside the container, run the following command to test a given day's problem.

go test ./puzzles/day00

To run the given puzzle input for the day.

go run puzzles/day00/main.go
          .     .  .      +     .      .          .
     .       .      .     #       .           .
        .      .         ###            .      .      .
      .      .   "#:. .:##"##:. .:#"  .      .
          .      . "####"###"####"  .
       .     "#:.    .:#"###"#:.    .:#"  .        .       .
  .             "#########"#########"        .        .
        .    "#:.  "####"###"####"  .:#"   .       .
     .     .  "#######""##"##""#######"                  .
                ."##"#####"#####"##"           .      .
    .   "#:. ...  .:##"###"###"##:.  ... .:#"     .
      .     "#######"##"#####"##"#######"      .     .
    .    .     "#####""#######""#####"    .      .
            .     "      000      "    .     .
       .         .   .   000     .        .       .
........................O000O................................