My Advent of Code solutions for the year 2020 written in JavaScript.
- day-01/main.js 🌟🌟 (Report Repair)
- day-02/main.js 🌟🌟 (Password Philosophy)
- day-03/main.js 🌟🌟 (Toboggan Trajectory)
- day-04/main.js 🌟🌟 (Passport Processing)
- day-05/main.js 🌟🌟 (Binary Boarding)
- day-06/main.js 🌟🌟 (Custom Customs)
- day-07/main.js 🌟🌟 (Handy Haversacks)
- day-08/main.js 🌟🌟 (Handheld Halting)
- day-09/main.js 🌟🌟 (Encoding Error)
- day-10/main.js 🌟🌟 (Adapter Array)
- day-11/main.js 🌟🌟 (Seating System)
- day-12/main.js 🌟🌟 (Rain Risk)
- day-13/main.js 🌟🌟 (Shuttle Search)
- day-14/main.js 🌟🌟 (Docking Data)
- day-15/main.js 🌟🌟 (Rambunctious Recitation)
- day-16/main.js 🌟🌟 (Ticket Translation)
- day-17/main.js 🚧 (Conway Cubes)
- day-18/main.js 🌟🌟 (Operation Order)
- day-19/main.js 🌟 (Monster Messages)
- day-20/main.js 🌟 (Jurassic Jigsaw)
- day-21/main.js 🚧 (Allergen Assessment)
- day-22/main.js 🚧 (Crab Combat)
- day-23/main.js 🚧 (Crab Cups)
- day-24/main.js 🚧 (Lobby Layout)
day-25/main.js
Use node
to run the solutions. (replace day-dd
with e.g day-04
)
node day-dd/main.js
Copyright (c) 2020 Jukka Pajarinen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.