GeneThello Home

net.sf.genethello.applet
Interface IGame

All Known Implementing Classes:
Game

public interface IGame

Game interface shared by several modules.

Author:
praz

Method Summary
 IBoard getBoard()
          Gets board.
 int getTurn()
          Gets current color fo player to turn.
 void printBoard()
          Prints current board position to standard output.
 void setTurn(int turn)
          Sets current color turn to play.
 

Method Detail

getBoard

IBoard getBoard()
Gets board.

Returns:
board

getTurn

int getTurn()
Gets current color fo player to turn.

Returns:
color to turn: Game.BLACK, Game.WHITE

setTurn

void setTurn(int turn)
Sets current color turn to play.

Parameters:
turn - color to play: Game.BLACK, Game.WHITE

printBoard

void printBoard()
Prints current board position to standard output.


GeneThello Home

Get GeneThello: Genetic Othello at SourceForge.net. Fast, secure and Free Open Source software downloads