Class: Contest::AI::EffectTagHeuristicBase::AdvancedPlayLastNextTurn

Inherits:
PlayLastNextTurn
  • Object
show all
Defined in:
docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb

Overview

More advanced version of the PlayLastNextTurn heuristic This heuristic also considers moves previously used by other contestants that have a negative effect on subsequent contestants

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, _move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


71
72
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 71

def compute(user, ai, _move)
end