https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
e

Emre Akgül

12/11/2023, 2:20 AM
Why Advent-of-Code is not using the full power of Unicode-Standards? This?
Copy code
FF7FSF7F7F7F7F7F---7
L|LJ||||||||||||F--J
FL-7LJLJ||||||LJL-77
F--JF--7||LJLJ7F7FJ-
L---JF-JLJ.||-FJLJJ7
|F|F-JF---7F7-L7L|7|
|FFJF7L7F-JF7|JL---7
7-L-JL7||F7|L7F-7F7|
L.L7LFJ|||||FJL7||LJ
L7JLJL-JLJLJL--JLJ.L
Or this? (in this case only the pipe is printed, but with the replaced chars)
Copy code
∙┌┐┌S┌┐┌┐┌┐┌┐┌┐┌───┐
∙│└┘││││││││││││┌──┘
∙└─┐└┘└┘││││││└┘└─┐∙
┌──┘┌──┐││└┘└┘#┌┐┌┘∙
└───┘┌─┘└┘####┌┘└┘∙∙
∙∙∙┌─┘┌───┐###└┐∙∙∙∙
∙∙┌┘┌┐└┐┌─┘┌┐##└───┐
∙∙└─┘└┐││┌┐│└┐┌─┐┌┐│
∙∙∙∙∙┌┘│││││┌┘└┐││└┘
∙∙∙∙∙└─┘└┘└┘└──┘└┘∙∙
https://www.compart.com/de/unicode/block/U+2500
s

Scott Odle

12/11/2023, 2:51 AM
Because then I’d solve it with MS Paint 🙂
e

Emre Akgül

12/11/2023, 2:55 AM
u can also use the given input if u really want to use paint 😅
d

Dan Fingal-Surma

12/11/2023, 3:27 AM
ASCII only input I think
e

ephemient

12/11/2023, 4:17 AM
lowest common denominator among all languages
also the Unicode version doesn't line up properly on my display, due to mismatched metrics from fallback fonts I believe
👍 1
j

Jakub Gwóźdź

12/11/2023, 6:33 AM
yeah, basically what Sebastian was talking about yesterday in AoC video around 28 minute. In 2019, my first AoC, I used to change font and line height to properly display all the
#
and other characters in maps, after a few years I don’t really care anymore 🙂
5 Views