a possible excuse: it's another place i can try and test my bit-blaster with
actually i should use this as an excuse to learn how to use box-drawing characters programmatically. could come in real handy.
(yes they aren't strictly hexagons)
the equations at the bottom don't actually work for other sizes
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
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.
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
i made a bunch of settings like optional stumps that are impassible
i threw everything at the wall here.
hexagonal radius of 9, costs between 1 and 5 (plus free square), stumps enabled, points constrained 2 cells from each corner to have a minimum cost from center of 10 or 20, and costs of 1 and 5 respectively. there must be $1 cells with minimum costs from 1 to 10, and the total cost of a symmetrical segment must equal 150. the count of $n cells must be $1 ≥ $2 + 2 ≥ etc. this shows the minimum costs; actual costs are in increasing intensity of color.
also you can set everything to 0 (except hexrad and maxcost) to remove their constraints
i added rotation and mirroring but i haven't updated the links yet