Skip to content

Code and Development environment for adventofcode.com - 2021 edition

License

Notifications You must be signed in to change notification settings

docToolchain/aoc-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f53e111 · Jan 29, 2022
Nov 23, 2021
Dec 5, 2021
Jan 29, 2022
Dec 22, 2021
Dec 22, 2021
Jan 3, 2022
Jan 3, 2022
Jan 4, 2022
Jan 4, 2022
Jan 4, 2022
Jan 5, 2022
Jan 6, 2022
Jan 7, 2022
Jan 7, 2022
Jan 8, 2022
Jan 8, 2022
Jan 8, 2022
Jan 9, 2022
Jan 10, 2022
Jan 10, 2022
Jan 12, 2022
Jan 16, 2022
Jan 17, 2022
Jan 18, 2022
Jan 22, 2022
Jan 28, 2022
Jan 29, 2022
Jan 29, 2022
Nov 22, 2021
Dec 1, 2021
Dec 5, 2021
Nov 22, 2021
Nov 22, 2021
Dec 3, 2021
Nov 22, 2021
Nov 27, 2021
Nov 22, 2021
Nov 22, 2021
Dec 1, 2021
Nov 22, 2021
Nov 22, 2021
Nov 22, 2021
Nov 22, 2021
Nov 22, 2021
Nov 22, 2021

Repository files navigation

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