Giter Club home page Giter Club logo

aoc2023's Introduction

Advent of Code ๐ŸŽ„

This repo is used to help maintain my JavaScript solutions for Advent of Code.

Setup

  1. Generate a repo from this template

  2. Install dependencies

    yarn
  3. Bask in the holiday cheer ๐ŸŽ…

Generate a new solution from a template

YEAR=20XX DAY=0X yarn new

Copy your inputs

Inside the /inputs directory, you'll see have an input.txt and example.txt for each day you are solving. The input.txt is your unique Advent of Code input. The example.txt is for the example input given in the text of the question.

Automatically downloading your input

If you want to have your input automatically downloaded from the Advent of Code API, simply add a .env file at the root of your project with your Advent of Code session ID. This is the cookie that is set on your browser when you log in to the website.

Run tests while you're solve the problem

YEAR=20XX DAY=0X yarn test --watch

Display the output for a solution

YEAR=20XX DAY=0X yarn solve

Sample output

aoc2023's People

Contributors

dqian 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.