Class: Tictactoe::Ai::PerfectIntelligence
- Inherits:
-
Object
- Object
- Tictactoe::Ai::PerfectIntelligence
- Defined in:
- lib/tictactoe/ai/perfect_intelligence.rb
Constant Summary collapse
- SCORE_FOR_UNKNOWN_FUTURE =
-1
Instance Method Summary collapse
Instance Method Details
#desired_moves(state, player) ⇒ Object
9 10 11 |
# File 'lib/tictactoe/ai/perfect_intelligence.rb', line 9 def desired_moves(state, player) find_best_moves(state, player) end |