Giter Site home page Giter Site logo

advent-of-code's Introduction

This repository has my solutions for the Advent of Code.

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

๐Ÿ’ป Running the solutions

To run solutions:

npm start <year|all> <day|all>

Examples:

npm run start 2021 1    # run day 1 of 2021
npm run start all       # run all implemented days of all years
npm run start 2021 all  # run all implemented days of 2021
npm run start all 1     # run the first day of all years

โš™ Generating new days

You can also generate new days from the command line. The folders and files will be created according to given arguments, if they don't already exist.

To generate a new day's folder, solution file and input file:

npm run create <year> <day>

Examples:

npm run create 2021 8   # create template for day 8 of 2021
npm run create 3264 16  # create template for day 16 of 3264

๐Ÿงฉ Completed puzzles

SPOILERS: Below are my solutions to the puzzles that I have completed. If you haven't done them yet, the solutions may be spoiled for you. Look at the code at your own risk.

advent-of-code's People

Contributors

jondolf avatar

Watchers

 avatar  avatar

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.