player.gamer.statemachine.sadna

## Class RealTimePlayer

- java.lang.Object
- - player.gamer.statemachine.sadna.RealTimePlayer

- All Implemented Interfaces:
    FourInARow

      public class RealTimePlayer
      extends java.lang.Object
      implements FourInARow

  Real competition player

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RealTimePlayer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `fourEnd(int score)`
    `int` | `fourMove(java.util.List<java.lang.Integer> moved, java.util.List<java.lang.Integer> options, long timelimit)` Play Connected Four move.
    `void` | `fourStart(java.lang.String role)`
    `java.lang.String` | `getName()`

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

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

- - ### Constructor Detail

    - #### RealTimePlayer

          public RealTimePlayer()

  - ### Method Detail

    - #### fourStart

          public void fourStart(java.lang.String role)

      Specified by:
        `fourStart` in interface `FourInARow`

    - #### fourMove

          public int fourMove(java.util.List<java.lang.Integer> moved,
                     java.util.List<java.lang.Integer> options,
                     long timelimit)

      Play Connected Four move.
      Specified by:
        `fourMove` in interface `FourInARow`
      Parameters:
        `moved` - The last move the opponent made
      Returns:
        the move the player made (the column it drop the coin in)

    - #### fourEnd

          public void fourEnd(int score)

      Specified by:
        `fourEnd` in interface `FourInARow`

    - #### getName

          public java.lang.String getName()

      Specified by:
        `getName` in interface `FourInARow`