Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aanton/adventjs-2022

My adventJS solutions (2022 edition)
https://github.com/aanton/adventjs-2022

adventjs adventjs-2022

Last synced: 1 day ago
JSON representation

My adventJS solutions (2022 edition)

Awesome Lists containing this project

README

        

# 🎅 My adventJS solutions (2022 edition) 🎄

My solutions to [adventJS](https://2022.adventjs.dev/) (2022 edition) by [@midudev](https://twitter.com/midudev).

## đŸ’ģī¸ Installation & usage

- Clone this project
- Install dependencies
- Run all tests or run only the day X tests

```bash
npm install

# Run all tests
npm run test

# Run day 4 tests (identified by 04 or day04)
npm run test 04
npm run test day04
```

## 🕹ī¸ Challenges

| Day | Name | Rules | Tests | Code |
| --- | ---------------------------------------- | ----------------------------------------------------- | ---------------------------------- | ---------------------------- |
| 1 | Automating Christmas gift wrapping! | [rules](https://2022.adventjs.dev/challenges/2022/1) | [tests](./src/day01/index.test.js) | [code](./src/day01/index.js) |
| 2 | Nobody wants to do extra hours at work | [rules](https://2022.adventjs.dev/challenges/2022/2) | [tests](./src/day02/index.test.js) | [code](./src/day02/index.js) |
| 3 | How many packs of gifts can Santa carry? | [rules](https://2022.adventjs.dev/challenges/2022/3) | [tests](./src/day03/index.test.js) | [code](./src/day03/index.js) |
| 4 | Box inside a box and another... | [rules](https://2022.adventjs.dev/challenges/2022/4) | [tests](./src/day04/index.test.js) | [code](./src/day04/index.js) |
| 5 | Optimizing Santa's trips | [rules](https://2022.adventjs.dev/challenges/2022/5) | [tests](./src/day05/index.test.js) | [code](./src/day05/index.js) |
| 6 | Creating xmas decorations | [rules](https://2022.adventjs.dev/challenges/2022/6) | [tests](./src/day06/index.test.js) | [code](./src/day06/index.js) |
| 7 | Doing gifts inventory | [rules](https://2022.adventjs.dev/challenges/2022/7) | [tests](./src/day07/index.test.js) | [code](./src/day07/index.js) |
| 8 | We need a mechanic! | [rules](https://2022.adventjs.dev/challenges/2022/8) | [tests](./src/day08/index.test.js) | [code](./src/day08/index.js) |
| 9 | Crazy Xmas lights | [rules](https://2022.adventjs.dev/challenges/2022/9) | [tests](./src/day09/index.test.js) | [code](./src/day09/index.js) |
| 10 | The Santa Claus sleigh jump | [rules](https://2022.adventjs.dev/challenges/2022/10) | [tests](./src/day10/index.test.js) | [code](./src/day10/index.js) |
| 11 | Santa Claus is Scrum Master | [rules](https://2022.adventjs.dev/challenges/2022/11) | [tests](./src/day11/index.test.js) | [code](./src/day11/index.js) |
| 12 | Electric sleighs, wow! | [rules](https://2022.adventjs.dev/challenges/2022/12) | [tests](./src/day12/index.test.js) | [code](./src/day12/index.js) |
| 13 | Backups for Santa Claus files | [rules](https://2022.adventjs.dev/challenges/2022/13) | [tests](./src/day13/index.test.js) | [code](./src/day13/index.js) |
| 14 | The best path | [rules](https://2022.adventjs.dev/challenges/2022/14) | [tests](./src/day14/index.test.js) | [code](./src/day14/index.js) |
| 15 | Decorating the Christmas tree | [rules](https://2022.adventjs.dev/challenges/2022/15) | [tests](./src/day15/index.test.js) | [code](./src/day15/index.js) |
| 16 | Fixing Santa Claus' letters | [rules](https://2022.adventjs.dev/challenges/2022/16) | [tests](./src/day16/index.test.js) | [code](./src/day16/index.js) |
| 17 | Carrying gifts in bags | [rules](https://2022.adventjs.dev/challenges/2022/17) | [tests](./src/day17/index.test.js) | [code](./src/day17/index.js) |
| 18 | We ran out of ink! | [rules](https://2022.adventjs.dev/challenges/2022/18) | [tests](./src/day18/index.test.js) | [code](./src/day18/index.js) |
| 19 | Sorting the toys! | [rules](https://2022.adventjs.dev/challenges/2022/19) | [tests](./src/day19/index.test.js) | [code](./src/day19/index.js) |
| 20 | More challenging trips | [rules](https://2022.adventjs.dev/challenges/2022/20) | [tests](./src/day20/index.test.js) | [code](./src/day20/index.js) |
| 21 | Creating the gifts table | [rules](https://2022.adventjs.dev/challenges/2022/21) | [tests](./src/day21/index.test.js) | [code](./src/day21/index.js) |
| 22 | The lights in sync | [rules](https://2022.adventjs.dev/challenges/2022/22) | [tests](./src/day22/index.test.js) | [code](./src/day22/index.js) |
| 23 | Santa Claus Compiler | [rules](https://2022.adventjs.dev/challenges/2022/23) | [tests](./src/day23/index.test.js) | [code](./src/day23/index.js) |
| 24 | The last challenge is a maze | [rules](https://2022.adventjs.dev/challenges/2022/24) | [tests](./src/day24/index.test.js) | [code](./src/day24/index.js) |

## 💖 Acknowledgements

- [@midudev](https://twitter.com/midudev) for sharing his knowledge with the DEV community in [YouTube](https://midu.tube/), [Twitch](https://midu.live/), [blog](https://midu.dev/), ... & creating [adventJS](https://adventjs.dev/)
- [@borjapazr](https://twitter.com/borjapazr) for creating [Awesome adventJS](https://github.com/borjapazr/awesome-adventjs)