ah heck. i was looking through old text files and found an old semi-arbitrary problem i was trying to solve. now that i know how to solve it, i feel obliged to finish it even though it's pointless.

a possible excuse: it's another place i can try and test my bit-blaster with

Show thread

actually i should use this as an excuse to learn how to use box-drawing characters programmatically. could come in real handy.

Show thread

the equations at the bottom don't actually work for other sizes
O WELL

Show thread

fixed those bugs and got hex distances working, plus i can now place text within the boxes. screenshot later i guess. now i can start on the solver stuff

Show thread

it's like a skill tree where you start in the center and there's constraints on the six corners for costs and total costs. it has 3-way rotational symmetry. and yeah, these squares would be rendered as hexagons outside of a terminal.

Show thread

also there's a constraint that the sum of all costs is 255. anyway i need to go to bed, maybe i'll try to make this easier to look at tomorrow

Show thread

i made a bunch of settings like optional stumps that are impassible

Show thread

long description 

Show thread
Follow

@notwa these are so pretty! i love a good optimization problem :)

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!