/adventjs

Personal solutions for AdventJs

Primary LanguageJavaScriptMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License Tests


AdventJS 2023 - @ASJordi

Personal solutions to the challenges of Adventjs 2023

Explore the docs Β»

Content

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

Challenges

πŸŽ„ 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:2022

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