First part of this series | Previous| Next | Index
As you might have guessed, the JPS code in the previous post wasn’t entirely correct. What a shocking revelation! I mean, it found some paths some times, much slower …
First part of this series | Previous| Next | Index
As you might have guessed, the JPS code in the previous post wasn’t entirely correct. What a shocking revelation! I mean, it found some paths some times, much slower …
First part of this series | Previous | Next | Index
What a coincidence in naming. I plan to finish my “derping around with already solved problems while not improving my bot in any meaningful way” adventure with this post. …
My guests this week were Antiga (Nathan Roth), MicroDK, and Marian Devecka (the author of Killerbot). We had a great conversation about Zerg things, and of course, we used coding and algorithms. And also, I was wrong about A star. …
First part of this series | Previous | Next | Index
Today’s lesson is: Always test your assumptions. A while ago, I posted a method for getting WalkPositions in a radius. I added a check for bounds outside the map, …
First part of this series | Previous | Next | Index
Time to implement the very smart things I outlined in the last part. I decomposed it to many parts. First of all, a helper method to check if a …
This is more of an opinion piece. Please handle it accordingly.
This is a topic that pops up time and again – we should modify the Brood War API to do things in a certain way, so …
First part of this series | Previous | Next | Index
The last time, I was thinking about getting the WalkPositions on a line between two points. For this, I first create a rectangle with all the WalkPositions in …
First part of this series | Previous | Next | Index
In the last part I implemented a threat map for visible units. For unseen units, the problem is actually a little bit different. My intention is that I should …
First part of this series | Previous | Next | Index
I’m continuing with the actual thing I’d like to use, which is a map of threatened WalkPositions. I need a method for “all WalkPositions in range of a unit”.…
First part of this series | Previous | Next | Index
I decided to go forward with working on the threat map.
HashSet<UnitenemyUnits = new HashSet<(); //Currently visible enemy units
HashMap<Integer, EnemyUnitInfoenemyUnitInfo = new HashMap<(); //"Last
…