Here are my last 5 games with the bot. This seriously just happened. I've written AI for competitions and competing AI for starcraft brood war (and I've won a few hundred dollars in doing it). I have a CS major, and I could write something that is smarter then this bot in 2 days. 1 day to get used to the source code and methods, and the 2nd day to actually write the code.
Anyways, here are my LAST 5 games with this bot, until something is done to improve how shitty the behavior is.
(Keep in mind that at least 80% of the games I've seen are like this.)
Game 1 is a flag cap race. Both have to cap 1 flag. Its on some desert map, but that doesn't matter. My Tank goes about 15 feet, goes behind a rock, and then waits for a target for 2 minuets. After waiting, the bot moves out for a few feet, then turns around. This goes on for a couple minuets, going back and forth. We win, but I've done 0 damage and get almost no exp (100xp). My tank was at the bottom of the tier list (being tier 6). I would have rather zerg rushed and gotten in a few shots, then done nothing.
Game 2 is a defend game. The tank rushes out towards their base, gets hit by a rushing small tank a few times, then stops to shoot the tank. The small tank moves behind some rocks, and my tank acts as if he next existed and just starts running toward the enemy and dies.
Game 3 is an attack game on a new map. My tank sits there idle at base until we win, i get 100xp for a 10 minuet game.
Game 4 is a standard cap the enemy zone game. This time, my tank moves out toward the enemy base. Eventually, after around 4 minuets of moving forward, then moving back, the enemy is starting to cap our flag. Its a 2v1 in our favor, and very shortly after the enemy beings to cap, our 2nd team mate goes to the flag to cap. My tank is right next to the flag zone. He is about to cross it, but then decides to move back toward our base to kill the cap guy. Our team is yelling at my tank. After going 40 feet, and at around 40% for both flags, my tank turns around a few times, and runs into a dead husk.
Game 5 is an attack game. The map is split in two. My bot goes back and forth, but doesn't leave our side of the map, even though he is the top tank on the tier list in the room. Eventually, its just him vs 7 other people. He just goes around in circles near spawn, nothing near him, looking for tanks to kill.
Here is what I think the AI of this bot is like:
1) Choose a random way point
2) Generate Path to the way point from current location
3) Move along path while checking for a random time between X&Y
Check Conditions while moving:
a) LOS of an enemy tank
b) If an Enemy tank is nearby
c) Progress along the path of the tank stops
- IF a) then -> Engage enemy tank
- IF b) then -> Wait for tank for random time between X&Y
- IF c) then -> do unstuck maneuver
CHANCE: Generate a new path to a new way point along the path (whole path considered)
That's the entire logic of the bot. There is no "behavior" which would indicate an actual AI system. Only a few IF statements.
I think a lot of people would get this bot (i knew I would) if it had some solid behavior behind it. I'm not asking for a rewrite or anything, but I do sincerely want to help in any way possible.