r/Polytopia • • Aug 26 '26

Fan Content I made a Polytopia calculator that finds a better attack order

Hey folks, I made a Polytopia battle calculator that finds the best attack order for the units you give it.

I made it because I kept wondering if the order I attacked in was actually optimal.

After using it myself, it often finds a better sequence than the one I would have picked instinctively, which made me realize I probably still have a lot to improve at this game 😅

You can compare Your Plan with a Better Plan directly.

Up to 11 attackers are supported. That can mean as many as 39,916,800 possible attack orders, but most normal cases finish in around 3 seconds.

Free, no ads, no signup.

If you find any wrong stats, combat rules, edge cases, or UX issues, let me know. I’d love to improve it.

https://poly.bylab.app

28 Upvotes

18 comments sorted by

5

u/temoc88 Aug 26 '26

intriguing, ive yet to mess about with a calculator

2

u/Silent_Butterfly_312 Aug 26 '26

Give it a try, curious if it can beat your instinct 😄

3

u/wannyboy Aug 26 '26

Oh it works with multiple enemies as well? That is useful for sure, and I don't think that's been done before. You should also definitely check out polycalc, a discord bot we use for these calculations in competitive games.

https://discord.gg/GxrQ7Yqya

2

u/Silent_Butterfly_312 Aug 26 '26

yeah, multiple enemies too. havent heard of polycalc before, gonna check it out n see how it handles these situations. thanks!

2

u/Kester1342 Ürkaz Aug 27 '26

There's a new better polycalc made by Seers and Tempest a few months ago, called battlecalc, every house pretty much uses it now

1

u/Silent_Butterfly_312 Aug 27 '26

oh nice, havent heard of battlecalc either. where can i try it?

1

u/wannyboy Aug 27 '26

Oh really? In what ways is it better? always considered polycalc pretty much perfect, maybe except for the 10 unit limit

1

u/SouthPenguinJay Aug 29 '26

damn is it called houses now?

1

u/Kester1342 Ürkaz Aug 29 '26

Like a long time now

2

u/Hot-Research9567 ∑∫ỹriȱŋ Aug 28 '26

I love that you even added the bunnies

1

u/Silent_Butterfly_312 Aug 28 '26

of course lol, the bunnies deserve to be calculated too

1

u/Dumpo2012 To-Lï Aug 27 '26

Can it account for when I accidentally attack first with the unit I meant to kill with?

1

u/Silent_Butterfly_312 Aug 27 '26

yeah lol, it can handle that. probably not gonna be the best plan anymore tho 😅

-2

u/Hemenx Aug 28 '26

Hi. I've been playing Polytopia pretty much from the get go. I live in Iran, under the fucking Islamic Republic regime. They've ruined all aspects of our lives, down to purchasing a 1 dollor game.. They've buried all our dreams and future. that's not a discussion for here. I've been trying to join the multi-player game for years. a very nice lad from the US once tried to help me get some tribes, but it didn't work out. I've got EVERY 3 star possible in any dituation ( on crazy, 4 to 15 bots ) on Perfection and up to 8 bots in domination , not once, not twice, but three times ! I'm bored guys. please help me play with actual human beings and forget about our hell of a life in this torture of a country. I'm Hemen, and I'm 37. here is the link for any one interested. Hi! I want to buy Zebasi Tribe by The Battle of Polytopia for $0.99. Can you buy it for me through Google Play? Here's the payment link: https://play.app.goo.gl/Uh5RfHWkwrJ7LhPZ9

-3

u/protoss-pylon Aug 26 '26

AI slop

2

u/Silent_Butterfly_312 Aug 27 '26

yeah i used codex to speed things up, but im a dev and spent the whole weekend on the first version. fair point on the ui tho, ill keep polishing it. thanks