s3games.ai

## Class MiniMaxStrategy

- java.lang.Object
- - s3games.ai.Strategy
  - - s3games.ai.MiniMaxStrategy

-     public class MiniMaxStrategy
      extends Strategy

  Strategy class for the minimax player.

- - ### Field Summary

    - ### Fields inherited from class s3games.ai.Strategy

      `heuristic`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MiniMaxStrategy(Heuristic h)` constructor requires a heuristic for evaluating states that are beyond the time limit

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Player` | `getPlayer(GameSpecification specs)` returns a minimax player for the specified game
    `void` | `learn(Game game)` constructs the a full game tree with winning strategy so that play() will then be able to play according to it.

    - ### Methods inherited from class s3games.ai.Strategy

      `availableStrategies, getStrategy, learnable, setHeuristic`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MiniMaxStrategy

          public MiniMaxStrategy(Heuristic h)

      constructor requires a heuristic for evaluating states that are beyond the time limit

  - ### Method Detail

    - #### getPlayer

          public Player getPlayer(GameSpecification specs)

      returns a minimax player for the specified game
      Specified by:
        `getPlayer` in class `Strategy`

    - #### learn

          public void learn(Game game)

      constructs the a full game tree with winning strategy so that play() will then be able to play according to it. remains for future work
      Specified by:
        `learn` in class `Strategy`