adventOfCode/template
2020-12-07 19:26:21 +00:00
..
go Code formatting 2020-12-06 19:25:50 +00:00
python Code formatting 2020-12-06 19:25:50 +00:00
info.json Update template 2020-12-05 16:08:01 +00:00
input.txt Add Python template 2020-12-05 14:04:54 +00:00
README.md Add template usage instructions 2020-12-05 17:05:02 +00:00
README.md.off Update template 2020-12-07 19:26:21 +00:00

How to use this template

  1. Create a new copy of the template directory, and name it as you please. Enter into that directory.
  2. Download your challenge input, and save it as input.txt.
  3. Edit info.json to include the challenge title, year and day number as well as any test cases you would like to include.
  4. Write your code.
    • If you're using the Go template, ensure you change the import path in main.go to "adventOfCode/<yourDirectory>/go/challenge".
  5. Run your code.
    • Python: python ./python. You may also need to run pip install -r ../requirements.txt.
    • Go: go run ./go
  6. (optional) Delete the copy of this README, rename the other README and edit it.

image-20201205170258549