Class AkijevBotic2

java.lang.Object
rs.ac.bg.etf.players.Player
rs.ac.bg.etf.players.AkijevBotic2

public class AkijevBotic2
extends Player
  • Nested Class Summary

    Nested classes/interfaces inherited from class rs.ac.bg.etf.players.Player

    Player.Move
  • Constructor Summary

    Constructors 
    Constructor Description
    AkijevBotic2()  
  • Method Summary

    Modifier and Type Method Description
    Player.Move getNextMove()
    Abstract method for determining the next player move.
    Should be overriden.
    void resetPlayerState()
    Resets the opponentMoves list.

    Methods inherited from class rs.ac.bg.etf.players.Player

    addOpponentMove, getName

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • resetPlayerState

      public void resetPlayerState()
      Description copied from class: Player
      Resets the opponentMoves list. Invoked by the game engine after each round.
      Overrides:
      resetPlayerState in class Player
    • getNextMove

      public Player.Move getNextMove()
      Description copied from class: Player
      Abstract method for determining the next player move.
      Should be overriden.
      Specified by:
      getNextMove in class Player
      Returns:
      returns the player's next move