RollingRagdoll

joined 3 years ago
[–] RollingRagdoll@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Uiua

Part 1:

&fras "day3/input.txt"
/+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)"

Part 2:

Filter ← ⍜⊜∘≡⋅""⊸⦷°□
.&fras "day3/input.txt"
∧Filter♭regex"don't\\(\\)?(.*?)(?:do\\(\\)|$)"
/+≡/×≡⋕≡↘1regex "mul\\((\\d+),(\\d+)\\)"
[–] RollingRagdoll@lemmy.world 6 points 2 years ago

I would take:

  • Dwarf Fortress
  • Rimworld
  • Minecraft