Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/borjapazr/adventjs-solutions
🎅💻️ Solutions to the challenges proposed by @midudev on https://adventjs.dev
https://github.com/borjapazr/adventjs-solutions
advent-of-code adventjs adventjs-2021 adventjs-2022 christmas javascript midudev
Last synced: 3 months ago
JSON representation
🎅💻️ Solutions to the challenges proposed by @midudev on https://adventjs.dev
- Host: GitHub
- URL: https://github.com/borjapazr/adventjs-solutions
- Owner: borjapazr
- License: mit
- Created: 2021-12-02T20:09:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T21:15:07.000Z (about 1 year ago)
- Last Synced: 2024-10-14T06:46:36.897Z (4 months ago)
- Topics: advent-of-code, adventjs, adventjs-2021, adventjs-2022, christmas, javascript, midudev
- Language: JavaScript
- Homepage:
- Size: 1.07 MB
- Stars: 40
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# 🎅💻️ adventJS solutions [![GitHub RESULTS Workflow Status](https://img.shields.io/github/actions/workflow/status/borjapazr/adventjs-solutions/results.yml?branch=main&style=flat-square&logo=github&label=RESULTS)](https://github.com/borjapazr/adventjs-solutions/actions)
🧑🚀 24 days /
24 coding challenges • adventJS 🚀This repository contains the solutions to the challenges proposed by [@midudev](https://midu.dev/) on the [adventJS](https://adventjs.dev/) website.
## 🦠 2021
Show / Hide
### 🎮️ Challenges
| # | Challenge | Difficulty[^1] | Solution |
| :-: | :------------------------------------------------------------------------------------: | :------------: | :-----------------------------------: |
| 01 | [Contando ovejas para dormir](2021/challenge-01) | 🟢 | [Show](2021/challenge-01/solution.js) |
| 02 | [¡Ayuda al elfo a listar los regalos!](2021/challenge-02) | 🟢 | [Show](2021/challenge-02/solution.js) |
| 03 | [El Grinch quiere fastidiar la Navidad](2021/challenge-03) | 🟠 | [Show](2021/challenge-03/solution.js) |
| 04 | [¡Es hora de poner la navidad en casa!](2021/challenge-04) | 🟠 | [Show](2021/challenge-04/solution.js) |
| 05 | [Contando los días para los regalos](2021/challenge-05) | 🟢 | [Show](2021/challenge-05/solution.js) |
| 06 | [Rematando los exámenes finales](2021/challenge-06) | 🟠 | [Show](2021/challenge-06/solution.js) |
| 07 | [Buscando en el almacén...](2021/challenge-07) | 🟠 | [Show](2021/challenge-07/solution.js) |
| 08 | [La locura de las criptomonedas](2021/challenge-08) | 🟠 | [Show](2021/challenge-08/solution.js) |
| 09 | [Agrupando cosas automáticamente](2021/challenge-09) | 🔴 | [Show](2021/challenge-09/solution.js) |
| 10 | [La máquina del cambio](2021/challenge-10) | 🔴 | [Show](2021/challenge-10/solution.js) |
| 11 | [¿Vale la pena la tarjeta fidelidad del cine?](2021/challenge-11) | 🟠 | [Show](2021/challenge-11/solution.js) |
| 12 | [La ruta perfecta para dejar los regalos](2021/challenge-12) | 🔴 | [Show](2021/challenge-12/solution.js) |
| 13 | [Envuelve regalos con asteriscos](2021/challenge-13) | 🟢 | [Show](2021/challenge-13/solution.js) |
| 14 | [En busca del reno perdido](2021/challenge-14) | 🟠 | [Show](2021/challenge-14/solution.js) |
| 15 | [El salto perfecto](2021/challenge-15) | 🟠 | [Show](2021/challenge-15/solution.js) |
| 16 | [Descifrando los números...](2021/challenge-16) | 🟢 | [Show](2021/challenge-16/solution.js) |
| 17 | [La locura de enviar paquetes en esta época](2021/challenge-17) | 🔴 | [Show](2021/challenge-17/solution.js) |
| 18 | [El sistema operativo de Santa Claus](2021/challenge-18) | 🟢 | [Show](2021/challenge-18/solution.js) |
| 19 | [¿Qué deberíamos aprender en Platzi?](2021/challenge-19) | 🟠 | [Show](2021/challenge-19/solution.js) |
| 20 | [¿Una carta de pangramas? ¡QUÉ!](2021/challenge-20) | 🟢 | [Show](2021/challenge-20/solution.js) |
| 21 | [La ruta con los regalos](2021/challenge-21) | 🔴 | [Show](2021/challenge-21/solution.js) |
| 22 | [¿Cuántos adornos necesita el árbol?](2021/challenge-22) | 🟠 | [Show](2021/challenge-22/solution.js) |
| 23 | [¿Puedes reconfigurar las fábricas para no parar de crear regalos?](2021/challenge-23) | 🟣 | [Show](2021/challenge-23/solution.js) |
| 24 | [Comparando árboles de Navidad](2021/challenge-24) | 🟠 | [Show](2021/challenge-24/solution.js) |
| 25 | [El último juego y hasta el año que viene 👋](2021/challenge-25) | 🟠 | [Show](2021/challenge-25/solution.js) |## 🤖 2022
Show / Hide
### 🎮️ Challenges
| # | Challenge | Difficulty[^1] | Solution |
| :-: | :-----------------------------------------------------------: | :------------: | :-----------------------------------: |
| 01 | [Automating Christmas gift wrapping!](2022/challenge-01) | 🟢 | [Show](2022/challenge-01/solution.js) |
| 02 | [Nobody wants to do extra hours at work](2022/challenge-02) | 🟢 | [Show](2022/challenge-02/solution.js) |
| 03 | [How many packs of gifts can Santa carry?](2022/challenge-03) | 🟢 | [Show](2022/challenge-03/solution.js) |
| 04 | [Box inside a box and another...](2022/challenge-04) | 🟠 | [Show](2022/challenge-04/solution.js) |
| 05 | [Optimizing Santa's trips](2022/challenge-05) | 🔴 | [Show](2022/challenge-05/solution.js) |
| 06 | [Creating xmas decorations](2022/challenge-06) | 🟠 | [Show](2022/challenge-06/solution.js) |
| 07 | [Doing gifts inventory](2022/challenge-07) | 🟢 | [Show](2022/challenge-07/solution.js) |
| 08 | [We need a mechanic!](2022/challenge-08) | 🟠 | [Show](2022/challenge-08/solution.js) |
| 09 | [Crazy Xmas lights](2022/challenge-09) | 🟢 | [Show](2022/challenge-09/solution.js) |
| 10 | [The Santa Claus sleigh jump](2022/challenge-10) | 🟠 | [Show](2022/challenge-10/solution.js) |
| 11 | [Santa Claus is Scrum Master](2022/challenge-11) | 🔴 | [Show](2022/challenge-11/solution.js) |
| 12 | [Electric sleighs, wow!](2022/challenge-12) | 🟠 | [Show](2022/challenge-12/solution.js) |
| 13 | [Backups for Santa Claus files](2022/challenge-13) | 🟢 | [Show](2022/challenge-13/solution.js) |
| 14 | [The best path](2022/challenge-14) | 🟢 | [Show](2022/challenge-14/solution.js) |
| 15 | [Decorating the Christmas tree](2022/challenge-15) | 🟠 | [Show](2025/challenge-15/solution.js) |
| 16 | [Fixing Santa Claus' letters](2022/challenge-16) | 🔴 | [Show](2022/challenge-16/solution.js) |
| 17 | [Carrying gifts in bags](2022/challenge-17) | 🟠 | [Show](2022/challenge-17/solution.js) |
| 18 | [We ran out of ink!](2022/challenge-18) | 🟢 | [Show](2022/challenge-18/solution.js) |
| 19 | [Sorting the toys!](2022/challenge-19) | 🟢 | [Show](2022/challenge-19/solution.js) |
| 20 | [More challenging trips](2022/challenge-20) | 🔴 | [Show](2022/challenge-20/solution.js) |
| 21 | [Creating the gifts table](2022/challenge-21) | 🟠 | [Show](2022/challenge-21/solution.js) |
| 22 | [The lights in sync](2022/challenge-22) | 🟢 | [Show](2022/challenge-22/solution.js) |
| 23 | [Santa Claus Compiler](2022/challenge-23) | 🔴 | [Show](2022/challenge-23/solution.js) |
| 24 | [The last challenge is a maze](2022/challenge-24) | 🔴 | [Show](2022/challenge-24/solution.js) |[^1]: **Difficulty**: 🟢 Easy 🟠 Medium 🔴 Hard 🟣 Very Hard
## 🚀 Quick start
- Install
```bash
make install
# or
npm install
```- Run all challenges
```bash
make run
# or
npm test
```- Run specific challenge
```bash
make run YEAR=YYYY CHALLENGE=XX # where YYYY is the year and XX is the challenge number
# or
npm test YYYY/challenge-XX # where YYYY is the year and XX is the challenge number
```## 🚩 License
MIT @ [borjapazr](https://me.marsmachine.space). Please see [License](LICENSE) for more information.