Package net.sf.colossus.ai
Class HumanHaterRationalAI
- java.lang.Object
-
- net.sf.colossus.ai.AbstractAI
-
- net.sf.colossus.ai.SimpleAI
-
- net.sf.colossus.ai.RationalAI
-
- net.sf.colossus.ai.HumanHaterRationalAI
-
- All Implemented Interfaces:
AI
public class HumanHaterRationalAI extends RationalAI
Simple implementation of a Titan AI - a bit more coward the regular SimpleAI- Author:
- Romain Dolbeau
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.colossus.ai.RationalAI
RationalAI.BattleResults, RationalAI.CompCreaturesByValueName, RationalAI.MusteredCreatures
-
Nested classes/interfaces inherited from class net.sf.colossus.ai.SimpleAI
SimpleAI.PowerSkill, SimpleAI.TriggerTimeIsUp
-
Nested classes/interfaces inherited from class net.sf.colossus.ai.AbstractAI
AbstractAI.AbstractAIOracle, AbstractAI.CreatureValueConstants, AbstractAI.MoveInfo
-
-
Field Summary
-
Fields inherited from class net.sf.colossus.ai.RationalAI
I_HATE_HUMANS, KILLPOINTS, RECRUIT_AT_7, RECRUIT_FALSE, RECRUIT_TRUE, TITAN_SURVIVAL
-
Fields inherited from class net.sf.colossus.ai.SimpleAI
MIN_ITERATIONS, timeIsUp, timeLimit
-
Fields inherited from class net.sf.colossus.ai.AbstractAI
bec, client, cvc, hintSectionUsed, random, variant
-
-
Constructor Summary
Constructors Constructor Description HumanHaterRationalAI(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
masterMove()
Return true if we need to run this method again after the server updates the client with the results of a move or mulligan.-
Methods inherited from class net.sf.colossus.ai.RationalAI
chooseCreaturesToSplitOut, concede, estimateBattleResults, flee, getCombatList, split, splitCallback, splitOneLegion
-
Methods inherited from class net.sf.colossus.ai.SimpleAI
acquireAngel, battleMove, chooseRecruit, doInitialGameSplit, evaluateCritterMove_Defender, evaluateCritterMove_Rangestrike, evaluateCritterMove_Strike, evaluateCritterMove_Titan, evaluateLegionBattleMove, evaluateLegionBattleMoveAsAWhole, findBestLegionMove, findLegionMoves, findWeakestTwoCritters, getCreatureMoveLimit, getNativeValue, handleCarries, handleMulligans, muster, pickColor, pickEngagement, pickEntrySide, pickMarker, pickStrikePenalty, RATIO_DRAW, RATIO_LOSE_HEAVY_LOSS, RATIO_WIN_HEAVY_LOSS, RATIO_WIN_MINIMAL_LOSS, reinforce, retryFailedBattleMoves, setupTimer, strike, summonAngel
-
Methods inherited from class net.sf.colossus.ai.AbstractAI
buildEnemyAttackMap, cleanupBattle, couldRecruitUp, countCreatureAccrossAllLegionFromPlayer, findStrikeMap, generateDamageMap, generateLegionMoves, getAcqStepValue, getBattleStrike, getBattleUnit, getCaretaker, getHintedRecruitmentValue, getHintedRecruitmentValueNonTitan, getHintedRecruitmentValueNonTitan, getInitialSplitHint, getKillValue, getKillValue, getNumberOfWaysToTerrain, getVariantRecruitHint, hasOpponentNativeCreature, initBattle, isHumanLegion, makeLegionMove, rangeToClosestOpponent, setVariant
-
-
-
-
Constructor Detail
-
HumanHaterRationalAI
public HumanHaterRationalAI(Client client)
-
-
Method Detail
-
masterMove
public boolean masterMove()
Return true if we need to run this method again after the server updates the client with the results of a move or mulligan.- Specified by:
masterMove
in interfaceAI
- Overrides:
masterMove
in classRationalAI
-
-