ru.sstu.renju.players
Class SimplePlayer
java.lang.Object
ru.sstu.renju.players.SimplePlayer
- All Implemented Interfaces:
- Player
public class SimplePlayer
- extends Object
- implements Player
SimplePlayer class is Player implementation with
artificial intelligence.
- Author:
- Denis_Murashev
SimplePlayer
public SimplePlayer()
toString
public String toString()
- Overrides:
toString in class Object
doMove
public Move doMove(Game game,
CellType type)
- Description copied from interface:
Player
- This method should provide main game logic.
Using given game position this method should calculate the next move.
- Specified by:
doMove in interface Player
- Parameters:
game - gametype - move type (Black or White)
- Returns:
- new move
Copyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.