Class: Contest::AI::EffectTagHeuristicBase::JamAll

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

Overview

Heuristic for the effect tag :jam_all This heuristic gets boosted the later the user plays in the round and the amount of jam the move causes

Direct Known Subclasses

AdvancedJamAll

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


129
130
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 129

def compute(user, ai, move)
end