You must sign in to post. | Bot: Alien :: Jan 10, 2008 @ 9:27pm |
|---|
sunpin
Joined: Jan 2, 2008 Posts: 6 Location: Dallas, TX | sunbots.py
A L I E N
Bot_Alien uses detailed forecasts of ship arrivals to calculate how many ships it must hold back, then commits everything else to the attack. It relies more on speed than positioning.
It is designed for dueling. Its decisions are based on the assumption that it had one opponent which started with the same resources and makes smart decisions. For instance, it attacks the closest enemy planet first, on the assumption that if the enemy took it, it must be worth taking.
Characteristics:
- Launches multiple fleets per planet per turn
- Uses no fleet redirection
- Uses waypoints to break up long trips
- Computational upper bound is O(f + p^2) for f fleets, p planets
Strengths:
- Moves quickly, leaving enemies no time to build up
- Evaluates a neutral planet based on the region around it, in addition to the planets own quality
Weaknesses:
- Invites attacks in 3+ team games by keeping minimal reserves
- Occasionally accepts bad position trades
This isn't a full mod, just the bot. It can be plugged into bottourney or probably any other mod that uses bots.
Example: bottourney + alienpost updated on Jan 11, 2008 @ 3:37pm | | Re: Bot: Alien :: Jan 10, 2008 @ 11:50pm |
|---|
philhassey

Joined: Nov 30, 2006 Posts: 765 Location: Zarcon | Think you could upload a full mod (bot tourney or otherwise) including your bot? That'll make it easier for folks to try it out :)
Thanks!
Phil | | Re: Bot: Alien :: Jan 11, 2008 @ 3:37pm |
|---|
sunpin
Joined: Jan 2, 2008 Posts: 6 Location: Dallas, TX | Done. | | Re: Bot: Alien :: Jan 12, 2008 @ 9:42am |
|---|
philhassey

Joined: Nov 30, 2006 Posts: 765 Location: Zarcon | Cool :) One of these days I'm really going to have to set up some kind of bot-making tournament.
Phil | | Re: Bot: Alien :: Feb 8, 2008 @ 2:17pm |
|---|
SirGnip

Joined: Dec 27, 2006 Posts: 59 Location: Chi-town | FWIW, I threw a link to sunpin/bottourney_sun.zip on the "download" sticky thread. |
You must sign in to post.
|