GithubHelp home page GithubHelp logo

advent-of-code's Introduction

Advent of Code

My solutions/attempts for the annual Advent of Code coding challenge.

I won't claim to have solved all of these without assistance.

Usage

This repo uses Yarn 2, Typescript, and Jest.

Setup

  1. Clone the repo.
  2. yarn

yarn test yyyy/dd

Run the tests for a specific day. All the usual Jest CLI parameters apply. I would not recommend running a full yarn test since some of the tests take a while.

yarn day dd, yarn day yyyy dd

Initialize the folder and files for day dd, of either yyyy or the current calendar year. Copies a template, opens that day's puzzle page and input, and starts that day's tests in watch mode.

yarn test:intcode

Run all tests related to 2019's recurring feature, the IntCode virtual machine, which is expanded with new instructions and operating modes over multiple days.

These solutions all import the same IntCode class, so it was useful to have the full IntCode test suite running as changes were made.

Skipped for now

  • 2018, day 22, part 2. Three rewrites and I still can't get it. :(

advent-of-code's People

Contributors

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