Class: Model::MoveStrategy::EvaluatedBoard

Inherits:
Struct
  • Object
show all
Defined in:
lib/tic_tac_toe/model/move_strategy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#game_treeObject

Returns the value of attribute game_tree

Returns:

  • (Object)

    the current value of game_tree



21
22
23
# File 'lib/tic_tac_toe/model/move_strategy.rb', line 21

def game_tree
  @game_tree
end

#ratingObject

Returns the value of attribute rating

Returns:

  • (Object)

    the current value of rating



21
22
23
# File 'lib/tic_tac_toe/model/move_strategy.rb', line 21

def rating
  @rating
end