I get that too. I have a loss to <bad_match_data> (Ben’s code) but when I spectate, I am winning by a lot and it hits infinite loop detected.
SkyeNXT here. Good game to everyone—competition was a lot higher than I expected for this round. Some questions I had seen prior in this topic that, now that the tournament is finished, I would like to answer/provide my implementation.
- I saw a lot of stuff relating to wrong results. I’m pretty sure this is because sims use the board seed of the device which the game is simmed on, and when you open the game, it is reran on your device.
- My bot is not a follow bot, nor was it originally. I have 1k+ lines of logic, and the “follow” part takes up less than 50 (and is used solely for shocktrap). A general outline of my bot: get into optimal attack positions when cooldown for that ability is almost finished. Prioritize combo of shockTrap → move away → shockThrow → move away → waterGun: completion of this deals on average 40 damage to the enemy. When shockTrap and shockThrow are on cooldown, run area functions and target batteries.
- Shortcutting ahead of the turtle (for shocktrap, in my algo’s case) was actually pretty easy to accomplish. Instead of routing directly to the enemy, I route ~40 units in the direction the enemy is heading.
- Shadow avoidance isn’t that difficult to accomplish. You can find my movement logic, a modified bugnav, here.
- I saw a lot of questions regarding detecting waterguns. While not explicitly possible, its definitely doable—I accomplish this by keeping track of
hero.opponent.isReady('waterGun')at each step, and if I find that the status has changed from true to false, I simulate the firing of a waterGun from the opponent, and if it would hit me, I dodge. I do something similar for shockThrow, except dodge no matter what because, well, the target could be anywhere. One could also avoid shockTraps like this by keeping track of an array of positions and expiration times–however, I didn’t have time to implement this (busy with schoolwork and college applications). I find that almost all top leaderboard algos have a form of this, which reduced the efficacy of my previous attack bot a lot.
Some comments of my own:
- Loved your original following bot, @Unholy_Maker. If I recall correctly, you made the original in the open arena. No matter how hard I tried, I couldn’t kill your bot before game end. This was quite impressive, considering how almost no one knew about the dodging mechanics I mentioned above.
- If LordNao is here: props to your algo. The area gathering part of your bot is simply amazing. If you’re here: would you be open to merging our algorithms (attack from mine, area from yours) for fun and seeing what would happen?
- @riticmaster908: While I do believe the arena is quite skill based, the simple “box” algorithm (encircling the entire arena) is unfortunately effective. I struggled so much against these algorithms that there’s a special part in my code just to counter these: and yet, I still can’t beat well-crafted examples of these with dodge mechanics like AIYouth_汤昊明’s (check out my bot struggling here. It was a win, yes—but consider the fact my bot is intended to be an attack bot, and not intended to win on area. Being down health against a non-attack bot was quite frustrating). However, I don’t think this affected much in the long run: all of top 10 has more advanced mechanics, and even those in top 20 have their own original twist on things.
- If Ben is here, you probably have a very good algo as well. However, I usually don’t playtest against rank 1 (as I would usually come out with a very specific algo that counters only rank 1’s), so unfortunately I don’t have any comments.
If anyone wants to see the code from any other specific part of my algo, I would be open to sharing.
Also, something unrelated: not sure how many noticed the thing with the portals (going through portal generates a line of solar tiles from one portal to the other instantaneously), and idk if it was intended either. My algo tries to use this to my advantage, but it’s quite glitchy: sometimes it doesn’t update area fill (see image):

Great job everyone!(20chars)
Your strategy is very simple, but it can be written in the simplest way. “It’s really really awesome.”
about doge waterGun,same as u,but shockTrap is use +15,because some people may let go as soon as the time is up and cannot use your method.Although you are currently ranked third in the high school group, don’t worry, because 胡亦has multiple accounts, and he is in the national group. There is a chance that the account of the high school group will be cancelled. 鍾雨芪score may be brushed up by me. Yes, because I always misjudged and lost to him, I helped her score six to seven hundred points. Judging from the winning rate, you have a chance to get first place in 14-18. Congratulations.
In addition @riticmaster908 , it can be seen from his words that I did write “follow” earlier than you(I first write in solar skirmish). I don’t even blame you. Unexpectedly, you accused me of plagiarizing you.
Didn’t we already settle this mr “Unholy_Grudgeholder”
Yea,but I want u to know I didn’t lie
I’m not laughing just for you to know. I don’t find this funny.
If not funny,but u still need to let u know who wrote it first,I won’t blame u,I think u will know who is the first writer
That’s a good point about shockThrow: I didn’t consider the opponent using the ability before my algo can detect that it’s reactivated. Good find.
I doubt I’ll get first even if 胡亦 is cancelled, because I lose to 鍾雨芪 consistently (unless I get really good rng in final matches, I guess). I lose to most T10 bots, in fact—most of them are very good at staying alive through dodging + collecting batteries, and as I ignore solar for the most part usually end up losing.
Also do you think teams would be officially allowed in championship arena (some outside organizations, don’t think it was AIYouth but it was very similar, group students into teams that submit under one account)? Would be an interesting concept.
It will,but I don’t really like them,because we have two link,the other one the upload time have delayed
I think in china they have teacher,like last time farmfeld,the code are same,even than income are same
I read this at least 3 times which I normally only do for things we write. Outstanding post and insights! Thumbs up/like/heart (but not in a romantic way!)
… wwwwwhaaaaat’s happening here?? Do you all need a mature adult to come in and help work things out? May I suggest a cage fight? (seriously… what happened here?)
From my point of view, I think that although the thing is ending , his prejudice against people will not disappear, so someone happened to mention the evidence, so I talked to him by the way. I didn’t expect that he would react so strongly, and he seemed to think that I In my quibble, when I talked about that sentence of evidence, there was no malice at all. Assuming that his reaction to that sentence was normal, it meant that the matter was truly over. If he wanted to curse, then maybe, he I still don’t think he is wrong. Maybe the evidence in the first sentence is that I happily shared with him that I found the evidence, and he can rest assured, but he…,but don’t need to care about this thing,I won’t play anymore. It’s really painful to live with someone who will get scolded if you accidentally overtake him (I was very annoyed this season)
What the Google translate typed sentence is this
I apologized for my actions a long time a go

