ru.sstu.renju.core
Interface Player

All Known Implementing Classes:
HumanPlayer, RandomPlayer, SimplePlayer

public interface Player

Player interface represents player engine.

Important! Every implementation of this interface should also override Object.toString() method.

Since:
Renju 1.0
Author:
denis_murashev

Method Summary
 Move doMove(Game game, CellType type)
          This method should provide main game logic.
 

Method Detail

doMove

Move doMove(Game game,
            CellType type)
This method should provide main game logic. Using given game position this method should calculate the next move.

Parameters:
game - game
type - move type (Black or White)
Returns:
new move


Copyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.