r/LoopHero • u/code_chris • Mar 12 '21
App for testing thicket/river layouts
I've seen lots of different layouts for thickets and rivers and thought it would be fun to make a little app for testing ideas. This is largely inspired by Sacriel and his spread-sheeting on Twitch.
You can check it out here: https://loopherolayout.netlify.app/ (updated 21-04-2022, original url expired)

There's some example layouts at the bottom and you can share your layout by copying the link at the top. I'm interested to see what kind of layouts can fit on the side of the map. Please share how you like to lay these out in your game and any ideas for improvements, and I hope it's helpful for some people.
EDIT 2022: Original domain expired so I moved it to free hosting and updated the link. Comments linking to the old one will not work, but you can simply update the url and the code should work on the new page.
EDIT: u/RLutz has been calculating some of the best layouts over here: https://www.reddit.com/r/LoopHero/comments/m4cldk/solving_for_the_optimal_river_thicket_placement/
Best so far is 234% by /u/claustrophobie:
https://loopherolayout.netlify.app/?c=111221211211211211211211211211211212212121121112111211211122
5
u/Hypocritical_Oath Mar 13 '21
I'm pretty sure the river actually provides double the bonus of adjacent tiles themselves, then negates the bonus of adjacent tiles.
I'm unsure if that'd be different from what you have, but eh.
4
u/RLutz Mar 13 '21 edited Mar 13 '21
Your post inspired me to write a brute force solver for this which is currently running. I'll report back when it's done!
Edit: I really should have memoized and multi-threaded this. It's currently 40 minutes in, is still exploring all possibilities beginning from the first square, and the best it's found so far is 204.
3
u/wildfire393 Mar 13 '21
This is nifty.
It'd be nice to see options for dunes/oases as well as storm temples/burnt forests.
2
u/Logical_proof Mar 14 '21
https://loopherolayout.xyz?c=221112112111212121111112121211221122112111211121111112121211 I think this is 236% unless I messed up on the rules.
edit: and I did, because the river doubles back on itself in two parts...
1
u/Topper_HarIey Mar 13 '21
Great work! Thank you for this! What did you make it in?
1
u/Sacriel Mar 14 '21
Great job!
1
u/Zekava Mar 14 '21
Dunno if you've seen this one yet:
224% Attack Speed
1
u/Hair-fetishmiam Mar 22 '21
https://loopherolayout.xyz?c=121212121212121212121212121212121212121212121212121212121212
HERE YOU ARE 412%
1
u/candybomberz Mar 31 '21
Would be cool if you made it so that you can have a whole map not just 5 columns. Or atleast an option to make more columns.
1
u/rekenner Apr 02 '21
Needs a horizontal and vertical flip button.
And the best 12x4 as a link would be nice.
1
u/jujugotoday Apr 08 '21
It would be great if this could calculate the best one, especially when the available area is different.
1
u/xavierkiath Jan 01 '22
I know you did this a while back, just wanted to say thank/screw you for making a nice app that I have been poking at for ...I'm gonna just assume an hour now because the clock is my enemy, trying to fiddle with different available areas.
1
u/Norwazy Feb 07 '22 edited Feb 07 '22
I got a 238-246%
The river in the middle needs room to connect, but it's there. A nice benefit is this river ends at the top instead of the middle.
You can continue the snake down or you can go straight up for the quick connection
If that happens to be right next to a road, the river will become a reef and we'll have the 238% shown. Most maps I've encountered have room to bump it up to 242 on the 4up-5right thicket, but a lot will have the loop in the way of the 7up-5right thicket so you won't be getting the river bonus, it'll be reef.
edit: Same thing as above, but this is 240-248% and the uncertain thickets become 3up and 6up, which is more likely to not have the loop in the way.
0
u/Crylz Mar 13 '21
This is not how it works at all, it doesn't react to ones in corners and sure as hell it aint multiplicative
0
u/[deleted] Mar 21 '21
[deleted] — view deleted comment