/aoc-2021

Code and Development environment for adventofcode.com - 2021 edition

Primary LanguageRustOtherNOASSERTION

aoc-2021

Warning
Spoiler Alert! If you want to solve the aoc problems on your own, do not read any further. This repository contains solutions for the problems in several languages.
Note
Result can be found on aoc-2021.netlify.com powered by netlify.

In this repository, we will collect the code for the solutions of adventofcode for the 2021 event.

If you want to join the discussions, here is the invitation for our slack channel.

Slack Invitation orange

The slack channel itself is aoc-2021

The id of the shared leaderboard is 117454-7d5aa225 .

The Goal of this repository

  1. is to

    • have a shared code base. It will be interesting to see how the same problem is solved in different languages with different approaches

    • have a development environment in which all examples run out of the box

How do we ensure that all examples run out of the box?

The best solution will be to use https://gitpod.io. Just prefix the URL with gitpod.io# or click the button:

open in gitpod

A webbased IDE will open with the repository already cloned in a docker container.

It would be awesome if we manage to get all solutions up and running in this container!

The standard gitpod.io docker container supports JavaScript, TypeScript, Java, Groovy, Ruby, Python, Go, C, C++, Rust, Perl out of the box.

At least Make, Gradle and Maven are available as build tools.

Repository structure

The structure we start with is the following:

.
├── README.md
├── day01
├── day02
│   ├── groovy
│   |   └── rdmueller
│   |       ├── solution.groovy
│   |       └── README.adoc
│   └── [language]
│       └── [githubhandle]
│           ├── solution.[extension]
│           └── README.adoc
├── day03
├── day04
├── ...

Documentation

As you can see in the above repository structure, each folder contains a README.adoc. It would be great if everybody could explain their solution with a short description inside this README.adoc.

Questions?

⇒ see you on Slack: aoc-2021