Class: Contest::AI::EffectTagHeuristicBase::PlayFirstNextTurn

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

Overview

Heuristic for the effect tag :play_first_next_turn This heuristic is affected by the amount of other moves whose efficiency depend on the order of the round the user has in its moveset

Direct Known Subclasses

AdvancedPlayFirstNextTurn

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, _move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


36
37
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 36

def compute(user, ai, _move)
end