A first implementation of the stronger AI
This commit is contained in:
parent
e95d6e168a
commit
b24ab8902f
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ public class GameConstants {
|
||||||
public static final Class<?> PLAYER_TYPES[] = {
|
public static final Class<?> PLAYER_TYPES[] = {
|
||||||
Human.class,
|
Human.class,
|
||||||
BasicAI.class,
|
BasicAI.class,
|
||||||
StrongAI.class
|
StrongAI.class // The new AI
|
||||||
// TODO: Add more Player types, like different AIs
|
// TODO: Add more Player types, like different AIs
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ public class StrongAI extends AI {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a batch of connected castles around some start castle that belong to p
|
* Returns a batch of connected castles around some start castle that belong to the player p
|
||||||
* @param g the graph
|
* @param g the graph
|
||||||
* @param p the owner of the castles
|
* @param p the owner of the castles
|
||||||
* @param castle the start castle
|
* @param castle the start castle
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue