edu.columbia.cs.coms4701.agent.environments.pente
Interface PentePerceptGameSetup

All Superinterfaces:
AgentPercept, PentePercept

public interface PentePerceptGameSetup
extends PentePercept

A percept received at the start of a game, providing information such as the the player's turn number, the size of the board, operating rules, etc.

Version:
0.1

User: aaron Date: Sep 24, 2006 Time: 6:07:34 PM

Author:
aaron@cs

Method Summary
 DiscreteRectangle getBoardRectangle()
          Returns a rectangle indicating the size of the board.
 PenteEnvironment.PenteRules getRules()
          Indicates which rules are in operation for this game.
 int getTurnNumber()
          Indicates the turn number of the player, which is an integer between 0 and (number of players - 1)
 

Method Detail

getTurnNumber

int getTurnNumber()
Indicates the turn number of the player, which is an integer between 0 and (number of players - 1)

Returns:
turn number

getRules

PenteEnvironment.PenteRules getRules()
Indicates which rules are in operation for this game.

Returns:
a ruleset

getBoardRectangle

DiscreteRectangle getBoardRectangle()
Returns a rectangle indicating the size of the board.

The board will always have its lower-left corner at (0,0).

Returns:
the board's rectangle