Commit Graph

47 Commits

Author SHA1 Message Date
daniel 5fce73d69e day 22 part 1 2021-12-22 23:13:11 +01:00
daniel f7e797d920 day 21 part 2, got it!
I was overwriting created states in new-states while I should have been
cumulating.
2021-12-22 22:11:32 +01:00
daniel db000226d7 day 21 part 2, WIP getting closer 2021-12-22 14:58:04 +01:00
daniel 4ed9b57aa9 day 21 part 2 WIP 2021-12-22 01:28:47 +01:00
daniel aa77b51cd0 refactoring (probably needed for previous days too, oops) 2021-12-21 23:46:46 +01:00
daniel 089f2c8800 day 21 part 1 2021-12-21 23:45:42 +01:00
daniel c2ce053037 proper day 20 2021-12-20 15:17:55 +01:00
daniel 596f326726 hey, re-use first two steps! 2021-12-20 13:24:26 +01:00
daniel a7cb6fae09 day 20 (but I think I got lucky xD) 2021-12-20 11:50:35 +01:00
daniel cfdb5bcc8e day 18 2021-12-18 23:37:33 +01:00
daniel 8e44c86134 day 16 2021-12-17 10:40:23 +01:00
daniel 5be5acbfbc day 14 2021-12-14 19:26:29 +01:00
daniel 7c3908c15c simpler 2021-12-13 23:16:50 +01:00
daniel acf4a35309 shorter, using values and apply 2021-12-13 22:53:35 +01:00
daniel 69a73f90d7 day 13 2021-12-13 16:42:59 +01:00
daniel ea9e5b7167 indentation 2021-12-12 20:37:37 +01:00
daniel 6a0df03604 day 12 part 2 2021-12-12 20:36:33 +01:00
daniel 7662c00cf9 day 12 part 1 2021-12-12 12:29:53 +01:00
daniel 0388455b85 moved get-lines to common.scm 2021-12-12 12:29:44 +01:00
daniel bdc9004df6 use char->number from common in day 5 2021-12-11 20:19:34 +01:00
daniel 98336be2d7 day 11 part 2 2021-12-11 12:02:23 +01:00
daniel a22420b554 day 11, part 1 2021-12-11 11:54:01 +01:00
daniel d35640dc63 oops, import srfi 43 for common to compile 2021-12-11 11:53:50 +01:00
daniel f0d18d31ce customize default return value of matrix-get when peeking outside 2021-12-11 10:49:04 +01:00
daniel a1266ca648 factorized heightmap code into matrix code, and using records now 2021-12-11 10:30:24 +01:00
daniel 3df3a70754 day 10 2021-12-10 11:37:15 +01:00
daniel 211dbae5a4 fixed colors/comments of PGM 2021-12-09 13:01:48 +01:00
daniel 546b1961f8 day 9 2021-12-09 12:58:22 +01:00
daniel 755c44ea1d moved char->number to common.scm 2021-12-09 12:58:16 +01:00
daniel 663a7fe65b day 8 2021-12-08 14:47:24 +01:00
daniel e4ee931c08 simplified using scheme control constructs 2021-12-08 01:22:28 +01:00
daniel c166d1dada day 7 2021-12-07 11:21:28 +01:00
daniel f17f9dc81c move common code to common.scm 2021-12-07 11:21:21 +01:00
daniel 146396c887 renamed folders with days' name 2021-12-06 14:21:53 +01:00
daniel b0f362f6ec fixed text 2021-12-06 14:11:24 +01:00
daniel b169b546a3 day 6 2021-12-06 13:26:15 +01:00
daniel 3e26af5ae5 moved everything into folders 2021-12-05 13:19:54 +01:00
daniel 8d8c1ae4a4 day 5 2021-12-05 13:15:29 +01:00
daniel dee303e64c use bitwise-bit-set? in day 3 2021-12-04 23:42:25 +01:00
daniel 7bc5df1247 day 4 2021-12-04 23:41:59 +01:00
daniel cb4da1e6ec day 3 2021-12-03 19:06:37 +01:00
daniel ffaf4acf1e use call-with-input-file 2021-12-02 12:44:34 +01:00
daniel 11606105ea close files 2021-12-02 12:26:27 +01:00
daniel f24c1eb347 day 2 2021-12-02 12:13:59 +01:00
daniel 2f7501c175 infos 2021-12-01 19:37:24 +01:00
daniel adf5114de1 day 1 2021-12-01 19:30:29 +01:00
Daniel Borges ba014df6d0 Initial commit 2021-12-01 19:27:39 +01:00