🎅 Dev Advent Calendar

Dev Advent Calendar Video Explaination

The idea 💡

The Dev Advent Calendar is an initiative by @themarcba in order to give back to the community and learn something on the way.

For every day from the 1st to the 24th of December, I will push an Xmas-themed coding puzzle as a repository to this organization. A demo puzzle is at devadvent/2021-puzzle-0.

Your code will remain private and can only be seen by me. However, I might show the code of the accepted solution in a repository or on my Twitter feed (@themarcba).

For every puzzle, the winner will be picked at random from all valid solutions. Most puzzles will provide tests, so you can verify your solution with yarn test/npm test. (More to this, check out the guide on how to participate)

Only solutions that pass all tests are considered for winning the daily prize.

The prizes 🏆

Some prizes are donations from generous people and companies, some are provided by me personally. They range from ebooks, courses, and swag - to conference tickets.

The prize that is to be won every day will be announced together with the winner within the next days of the puzzle. (I'll try to do it right the next day, but no guarantees)

If one day there are no valid submissions, the prize for that day goes into the jackpot and will be given to the next winner.

Code Quality 📐

Always try to do your best work, and to make your code as readable as possible.

HOWEVER ❗ I will not judge your code on how you solved a certain problem or which method you used. The point of all of this is to have fun and write some code.

Rules ☝️

  • ✅ You can and are even encouraged to participate on multiple (heck, even ALL) of the puzzles.
  • ⚠️ If the puzzle has tests, they all need to pass in order to qualify for the prize.
  • 🚫 Don't upload multiple submissions for the same puzzle.
  • 🚫 Don't modify or remove any tests.

Participate 🚀

Participating requires you to have a GitHub account. You can find detailed instructions on how to participate in this guide 📖

🧩 Puzzles

Day 1

drawing

Weeks before Christmas, Santa's reindeers start practicing their flying in order to be fit for the big night. Unfortunately, one of them (Rudolf) crashed and landed in the forest 🌲

Now, Santa 🎅 needs YOUR help to find him.

https://github.com/devadvent/puzzle-1

📊 99 submissions / 71 valid solutions

🏆 Winner: @nuenanas

Day 2

drawing

The Elf Coffee Shop ElfCup with straw needs your help to create the menu for the newly reopened place where the elves get their daily cup of _whatever drink tickles their fancy_.

https://github.com/devadvent/puzzle-2

📊 76 submissions / 53 valid solutions

🏆 Winner: @hrexandro

Day 3

drawing

Due to the high demand ata the Elf Coffeee Shop ElfCup, the savy entrepreneur hired someone to make an app where elves can order their drink, and it would be delivered home, or to their workplace.

https://github.com/devadvent/puzzle-3

📊 53 submissions / 40 valid solutions

🏆 Winner: @_JohnBooks

Day 4

drawing

📊 42 submissions / 33 valid solutions

🏆 Winner: @chamoyadafr

You might not know this, but the Elf Post Service 📯 (ECS) is the largest parcel organization in the world. (For obvious reasons though, now that you think about, right?). They are ecologically responsible, so they continuously try to make everything more efficient, they need your help fitting each present in the smallest possible box.

https://github.com/devadvent/puzzle-4

Day 5

drawing

📊 52 submissions / 45 valid solutions

🏆 Winner: @____baran

The elves are about to prepare bags of candy that they want to add to each present this year, it's your job to create a program that creates bags of candy with no repeating candy in each bag.

https://github.com/devadvent/puzzle-5

Day 6

drawing

You might have heard from the song Santa Claus is Coming to Town the lines:

He's making a list. He's checking it twice. He's gonna find out who's naughty or nice

Well, that is exactly what the task is: Write a program that checks a list of kids and analyze whether they were naughty or nice, so that Santa knows if they deserve candy and toys, or coal...

https://github.com/devadvent/puzzle-6