Constructor and Description |
---|
Killbot() |
Modifier and Type | Method and Description |
---|---|
void |
cardsPhase(Card[] cards)
The cardsPhase method is called at the very beginning of your agent's turn.
|
java.lang.String |
description()
A description of your agent.
|
java.lang.String |
name()
This is the name of your agent.
|
void |
setPrefs(int ID,
Board board)
At the start of the game your agent will be constructed and then the setPrefs() method will be called.
|
float |
version()
The version of your agent.
|
java.lang.String |
youWon()
If your agent wins the game then this method will be called.
|
attackPhase, fortifyPhase, message, moveArmiesIn, pickCountry, placeArmies, placeInitialArmies
cashCardsIfPossible, debug
public void cardsPhase(Card[] cards)
LuxAgent
If your agent ever returns from the cardsPhase() method and still has more than 5 cards,
enough sets will be automatically cashed to bring you to under five cards.
cardsPhase
in interface LuxAgent
cardsPhase
in class Vulture
public java.lang.String description()
LuxAgent
description
in interface LuxAgent
description
in class Vulture
public java.lang.String name()
LuxAgent
public void setPrefs(int ID, Board board)
LuxAgent
public float version()
LuxAgent
public java.lang.String youWon()
LuxAgent
If you think that you will win a lot feel free to provide many different answers for variety.