Giter Site home page Giter Site logo

advent-of-code-2022's Introduction

Advent of Code 2022

Solutions for AoC 2022, in Go. You can build with just go build but the makefile assumes you have docker and GNU date available.

Building

You can build the project with make or make build. For a clean build you do, as you've probably guessed, make clean build. Both create an aoc2022 binary in the bin folder.

Running

The aoc2022 binary has two commands: input and run. Both require a specific day (so 1 for day 1, 2 for day 2 and so on until day 25). The input command also requires a session token that you can set in the AOC_SESSION environment variable or as a value to the -s/--session parameter. See aoc2022 --help for more info.

For your convenience, make run-all runs the solutions for all available puzzles and make run DAY=XX runs the solutions for day XX.

Acknowledgements

The solver framework was largely inspired by obalenenko's AoC package.

advent-of-code-2022's People

Contributors

wthys avatar kwyckmans avatar

Watchers

 avatar

Forkers

kwyckmans

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.