A downloadable advent code

https://adventofcode.com/2020/

this is just for fun and practice! for advent of code 2020, from a maths grad who taught himself python to mod ts4 and is way too lazy to get github

n.txt must be a copy of your input and must be in the same folder as na.py or nb.py for it to work, where n is an integer and i've solved day n; removed my input since it varies per person

all the code is in the devlogs; i've had to add the code to the main page though so there will be a lot of buttons below. please just scroll past them, itch.io wasn't designed for this lmao

devlogs days missing: 8 (i was ill), 19 (it is 4am), 24 (it's christmas eve, tho my implementation has each tile as a complex number that's a sum of sixth roots of unity, which is horribly inefficient, but also fun so long as you do something else for an hour while part b runs), 25 (it's christmas, and i made very many off-by-one errors lol)

Download

Download
1a.py 442 bytes
Download
1b.py 488 bytes
Download
2a.py 1.6 kB
Download
2b.py 1.7 kB
Download
3a.py 785 bytes
Download
3b.py 1.1 kB
Download
4a.py 1.8 kB
Download
4b.py 3.7 kB
Download
5a.py 933 bytes
Download
5b.py 1 kB
Download
6a.py 1,012 bytes
Download
6b.py 1 kB
Download
7a.py 3.3 kB
Download
7b.py 2.1 kB
Download
8a.py 2.2 kB
Download
8b.py 4.1 kB
Download
9a.py 1.6 kB
Download
9b.py 2.4 kB
Download
10a.py 897 bytes
Download
10b.py 2.6 kB
Download
11a.py 3.5 kB
Download
11b.py 3.9 kB
Download
12a.py 1.9 kB
Download
12b.py 1.9 kB
Download
13a.py 1,010 bytes
Download
13b.py 3.6 kB
Download
13b - slow.py 1.4 kB
Download
14a.py 1.7 kB
Download
14b.py 2.1 kB
Download
15a.py 995 bytes
Download
15b.py 1 kB
Download
16a.py 2.2 kB
Download
16b.py 6.1 kB
Download
17a.py 5.1 kB
Download
17b.py 5.8 kB
Download
18a.py 1.7 kB
Download
18b.py 1.9 kB
Download
19a.py 3.5 kB
Download
19b.py 6.9 kB
Download
20a.py 5.7 kB
Download
20b.py 9.7 kB
Download
21a.py 3.6 kB
Download
21b.py 3.6 kB
Download
22a.py 1.4 kB
Download
22b.py 3 kB
Download
23a - dict.py 1.7 kB
Download
23a.py 1.8 kB
Download
23b - slow dict.py 1.8 kB
Download
23b - slow list.py 2 kB
Download
23b.py 1.7 kB
Download
24a.py 1.5 kB
Download
24b.py 4.4 kB
Download
25a.py 1.2 kB
Download
25b.py 206 bytes

Development log

View all posts