Skip to content

ASJordi/adventjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License Tests


AdventJS 2024

Personal solutions to the challenges of Adventjs 2024

Explore the docs »

Content

Show / Hide
  1. Challenges
  2. Getting Started
  3. License
  4. Contact

Challenges

⛄ 2024

Show / Hide
# Name Difficulty Solution Score
01 🎁 ¡Primer regalo repetido! 🟢 Show ⭐⭐⭐⭐⭐
02 🖼️ Enmarcando nombres 🟢 Show ⭐⭐⭐⭐⭐
03 🏗️ Organizando el inventario 🟢 Show ⭐⭐⭐⭐⭐
04 🎄 Decorando el árbol de Navidad 🟢 Show ⭐⭐⭐⭐⭐

Difficulty: 🟢 Easy 🟠 Medium 🔴 Hard

🎄 2023

Show / Hide
# Name Difficulty1 Solution
01 ¡Primer regalo repetido! 🟢 Show
02 🏭 Ponemos en marcha la fábrica 🟢 Show
03 😏 El elfo travieso 🟢 Show
04 😵‍💫 Dale la vuelta a los paréntesis 🟠 Show
05 🛷 El CyberTruck de Santa 🟠 Show
06 🦌 Los renos a prueba 🟢 Show
07 📦 Las cajas en 3D 🟢 Show
08 📦 Las cajas en 3D 🟢 Show
09 🚦 Alterna las luces 🟢 Show
10 🎄 Crea tu propio árbol de navidad 🟢 Show
11 📖 Los elfos estudiosos 🟠 Show
12 📸 ¿Es una copia válida? 🟠 Show
13 ⌚️ Calculando el tiempo 🟢 Show
14 🚨 Evita la alarma 🟠 Show
15 ↔️ Robot autónomo 🟠 Show
16 ❌ Despliegue en viernes 🟢 Show
17 🛷 Optimizando el alquiler 🟢 Show
18 🔢 El reloj digital 🔴 Show
19 💣 Enfrenta el sabotaje 🟠 Show
20 🏋️‍♂️ Distribuye el peso 🔴 Show
21 🪐 Mensaje binario 🟠 Show
22 🚂 Lenguaje de programación 🟢 Show
23 🍽️ La comida de Navidad 🟢 Show
24 🪜 Brincos en la escalera 🟠 Show
25 🗺️ Calculando distancias 🟠 Show

🎅 2022

Show / Hide
# Name Difficulty1 Solution
01 Automating Christmas gift wrapping! 🟢 Solution
02 Nobody wants to do extra hours at work 🟢 Solution
03 How many packs of gifts can Santa carry? 🟢 Solution
04 Box inside a box and another... 🟠 Solution
05 Optimizing Santa's trips 🔴 Solution
06 Creating xmas decorations 🟠 Solution
07 Doing gifts inventory 🟢 Solution
08 We need a mechanic! 🟠 Solution
09 Crazy Xmas lights 🟢 Solution
10 The Santa Claus sleigh jump 🟠 Solution
11 Santa Claus is Scrum Master 🔴 Solution
12 Electric sleighs, wow! 🟠 Solution
13 Backups for Santa Claus files 🟢 Solution
14 The best path 🟠 Solution
15 Decorating the Christmas tree 🟠 Solution
16 Fixing Santa Claus' letters 🔴 Solution
17 Carrying gifts in bags 🟠 Solution
18 We ran out of ink! 🟢 Solution
19 Sorting the toys! 🟢 Solution
20 More challenging trips 🔴 Solution
21 Creating the gifts table 🟠 Solution
22 The lights in sync 🟢 Solution
23 Santa Claus Compiler 🔴 Solution
24 The last challenge is a maze 🔴 Solution

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

Only is it necessary to clone the repository and install the dependencies.

  1. Clone the repository
    git clone https://github.com/ASJordi/adventjs.git
  2. Install NPM packages
    npm install

Run project

You can run the project with the following command, it will run the file index.js:

npm run dev

If you want to run a specific file, you can change the index.js file name with the file you want to run in the package.json file.

Run tests

You can run all tests with the following command:

npm run test

You can run all tests from a specific year with the following command:

npm run test:yyyy

# Example
npm run test:2024

You can run a specific test with the following command:

npm run test:n

# Example
npm run test:1

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Jordi Ayala - @ASJordi

Project link: https://github.com/ASJordi/adventjs

Footnotes

  1. Difficulty: 🟢 Easy 🟠 Medium 🔴 Hard 2