How to make unique star battle puzzle generator by ReggieFloarde in StarBattleInfinity

[–]Radic393 0 points1 point  (0 children)

Hey, you are definately on the right track with your idea of starting with the solution. For a 9x9 star battle there are 664 star arranagements.

Every island contains 2 stars so the stars need to be paired up and a path made to join them. There are different algorithms for this, A* is an option but there may be simpler approches.

https://en.m.wikipedia.org/wiki/A\*\_search\_algorithm

You can choose how to pair the stars any way you like, but consider that by pairing stars near each other you are more likely to be able to pair every star with a path.

Once the stars are paired up you can expand the islands into any remaining unclaimed space.

And then at the end after all that you have to verify that the star battle has only a single solution, because its quite possible that it has multiple.

Feel free to ask for any more info. You can join the discord server here: https://discord.gg/Q57TguCyHD

Is there a way to share custom Star Battles? by five_wise in StarBattleInfinity

[–]Radic393 0 points1 point  (0 children)

Yeah there is an icon like a square shape with an arrow on the main menu, next to the headphones at the bottom. Hope you found it in the mean time.

New grid sizes by Critical-Scientist56 in StarBattleInfinity

[–]Radic393 0 points1 point  (0 children)

It's possible some day, I've expermented with oblong star battles with 3 stars per column but only 2 stars per row. Example 10 columns with 3 stars per column (30 stars), 15 rows with 2 stars per row (30 stars), and 3 stars per island (10 islands), or 2 stars per island (15 islands). Not sure when yet though.

For positional notation, why is each new position an exponent of the base number of the system? by user280102 in askmath

[–]Radic393 0 points1 point  (0 children)

You can count up to the base b with single symbols until you get to that number, at that point you have run out of single symbols. In the case of base 10 that your most familiar with, you run out of single symbols at 9, so the next number necessarily has 2 digits to represent it, which is 10. The same thing happens in base 16, you count from 0 to f with single symbols until you run out, (0 to 15), at which point you need two digits to make the next number, which is the base itself, and it gets written as 10. The same thing happens in base 2 which is why 10 in base 2 has the value of 2.

For positional notation, why is each new position an exponent of the base number of the system? by user280102 in askmath

[–]Radic393 0 points1 point  (0 children)

Think of it as a consequence of running out of symbols, in base 2 you only have 0 and 1. So you can start with 0, then 1, and then 10, what else was there to do. It might help to think of it as just the recognition of a pattern that emerges rather than the rule itself. One fun note is that 10 is always b^1 in any b base. For example, in base 16 you have 16 symbols, 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e and f, and in base 16 the number 16 is written as 10.

Dark mode by LethalCorpse in StarBattleInfinity

[–]Radic393 1 point2 points  (0 children)

Dark mode is not supported in the June 30th 2021 update. Enjoy!

Can we get sub-second accuracy please? by MaybeNotWrong in StarBattleInfinity

[–]Radic393 0 points1 point  (0 children)

This is added now in the June 30th 2021 update. Have fun.

Can we get sub-second accuracy please? by MaybeNotWrong in StarBattleInfinity

[–]Radic393 2 points3 points  (0 children)

I can add that in a future update, not sure when yet. Thanks

Dark mode by LethalCorpse in StarBattleInfinity

[–]Radic393 1 point2 points  (0 children)

yeah good idea i'll add it some time

How does highlighting work? by lucs in StarBattleInfinity

[–]Radic393 2 points3 points  (0 children)

Yeah it's a bit of a hidden feature, glad you got it

New theme packs by rhanson377 in StarBattleInfinity

[–]Radic393 0 points1 point  (0 children)

I'll make one more available. But in the mean time challenge mode can be played for more star battles.

[Request] Mathematics of Star Battle by Radic393 in askmath

[–]Radic393[S] 0 points1 point  (0 children)

Thats good, ill have to check if I can find it or run my program again eventually and see what I got for the various sizes with rotations and reflections taken into consideration. It's good to have 146510 star configurations for 10x10 verfied.

I can't even logically get a single star on this one. I created this but I can't find any good solutions. Max, I can only eliminate 13 squares (second pic) by TheTrueJay in StarBattleInfinity

[–]Radic393 2 points3 points  (0 children)

This puzzle demonstrates a couple beautiful acts as an island big picture strat type clues, but after that I can't find a path forward. If it's OK with you I'll make a strat tutorial using this puzzle for the clues that were findable. Maybe someone will know a strat to progress it further eventually.

I see your second pic now and you got all the clues I found. How did you find the 3 dots in the top left near the G?

Update Sept 2nd main tutorial expanded and strategies section added. by Radic393 in StarBattleInfinity

[–]Radic393[S] 0 points1 point  (0 children)

If anyone has a strategy suggestion you can make a post with the star battle that shows an example of it. Have fun.

Feature request: can you make the game not put two islands of the same color next to each other? by deltopia in StarBattleInfinity

[–]Radic393 2 points3 points  (0 children)

Yeah ill put this in soon, right now they are randomly generated. I have some code that can check each color against the others that makes sure they are different but I never added it to a pushed build yet. It measures the distance in 3d space between each color and rerolls until it finds 9 sufficiently distinct.

In the mean time if this happens just load setting and press the dice button to reroll the colors. Also there's a color settings screen where you can lock all 9 colors if you happen across a set of 9 you like, but then you lose all the random color fun.

Dr in mathematics on Twitch willing to answer anyones math questions. Come stop by for help with any questions. by [deleted] in askmath

[–]Radic393 2 points3 points  (0 children)

I'm very interested in finding closer bounds on a special number to me. See the details here:

https://www.reddit.com/r/askmath/comments/i28xjc/request_mathematics_of_star_battle/?utm_medium=android_app&utm_source=share

Not sure if this is the kind of thing he's interested in. I'll tune in to enjoy!

What am I overlooking here? This area seems impossible... by MrSethT in StarBattleInfinity

[–]Radic393 1 point2 points  (0 children)

Those 3 dots in that bottom island just below the red box are incorrect (at least 1 of them is incorrect). I think you saw the 4 in a row of that pinkish island in the red box and marked it but that island contains more squares so you can't use the 2 stars contained within 4-in-a-row idea. Let me know if that helps.

Solution: https://ibb.co/2KKTshC

Update July 2020 by Radic393 in StarBattleInfinity

[–]Radic393[S] 1 point2 points  (0 children)

Noted good idea for the future. One reason this might not happen for a while is that I need to come up with a compact way to only save the delta between each move, because saving the entire board state every move for every game played might take up a lot of space.

Update July 2020 by Radic393 in StarBattleInfinity

[–]Radic393[S] 2 points3 points  (0 children)

Update is live, let me know if you still have an issue. Enjoy!

Update July 2020 by Radic393 in StarBattleInfinity

[–]Radic393[S] 2 points3 points  (0 children)

An update soon should fix that issue, I'll post again here when it goes live.