This repository has been archived by the owner. It is now read-only.
advent-of-code-2020
Advent of Code
2020 edition
Crystal
Challenges for advent 2020 in crystal-lang.
All this code was run in repl.it, so forking this repo should be enough to run it on your own, with no installation required; but a VS code dev container is also provided, with debugging capabilities.
Usage
Evey advent day is in it's own folder in src/
, and all have the same structure:
main.cr
has the code that does the interesting thingrun.cr
has the code te read the big input and use ☝️- Other files as input
And in spec
there are some tests I wrote down, mostly the ones in text form that the problem provides.
Commands
- To run all the specs:
$ crystal spec
(or the run button in Repl.it) - To run a specific challenge:
$ crystal run src/[NUMBER]/run.cr
Repository
advent-of-code-2020
Owner
Statistic
- 1
- 0
- 1
- 0
- 1
- about 4 years ago
- December 2, 2020
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 07:06:54 GMT
Languages