Class: Contest::AI::EffectTagHeuristicBase::PreventJam

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

Overview

Heuristic for the effect tags :prevent_jam_one_turn and :prevent_jam_one_time This heuristic gets boosted the earlier the user plays in the round

Direct Known Subclasses

AdvancedPreventJam

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, _move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


160
161
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 160

def compute(user, ai, _move)
end