public class AI1 extends VoxAgentBase implements VoxAgent
Constructor and Description |
---|
AI1() |
Modifier and Type | Method and Description |
---|---|
void |
declareMoves(Country[] countries)
Each turn this method is called for the agent to send his moves to the VoxWorld.
|
java.lang.String |
description()
A description of your agent.
|
java.lang.String |
name()
This is the name of your agent.
|
float |
version()
The version of your agent.
|
java.lang.String |
youWon()
If your agent wins the game then this method will be called.
|
buyCastle, buyHalfKnights, buyKnights, buyPawns, buyUnits, buyUnits22, buyUnitsAlternating, countryIsInDanger, directionToEnemy, distanceToEnemy, getBestCastleBuildCountry, getDanger, getEnemyBorders, getFrontBase, getFrontBaseSafe, getIncome, getMostValuableEnemyBorder, getRandomBorder, getRandomBorder, getRandomEnemyBorder, getRealAdjoiningList, getStrongestBase, getWeakestBase, message, moveTowardsEnemySplittingUp, setPrefs
public void declareMoves(Country[] countries)
VoxAgent
declareMoves
in interface VoxAgent
declareMoves
in class VoxAgentBase
public java.lang.String description()
VoxAgent
description
in interface VoxAgent
description
in class VoxAgentBase
public java.lang.String name()
VoxAgent
name
in interface VoxAgent
name
in class VoxAgentBase
public float version()
VoxAgent
version
in interface VoxAgent
version
in class VoxAgentBase
public java.lang.String youWon()
VoxAgent
If you think that you will win a lot please provide many different answers for variety.
youWon
in interface VoxAgent
youWon
in class VoxAgentBase