Class: Contest::AI::EffectTagHeuristicBase::JamOne

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

Overview

Heuristic for the effect tags :jam_previous, :jam_highest_score and :jam_same_condition This heuristic considers whether the user is playing first and the amount of jam the move causes

Direct Known Subclasses

AdvancedJamOne

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


96
97
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 96

def compute(user, ai, move)
end