jagafa.ai
Interface JassAI

All Known Implementing Classes:
CoreAI, ProbabilityAI, SimpleAI

public interface JassAI

General interface defining the functions available to the game for computing cards by AI


Method Summary
 RuleSet chooseRuleSet()
          Choose a RuleSet out of the available Sets of a given scoreTable
 Card computeCard()
          Compute a card to be played by the player
 void init(Player p, JassRound game)
          Initializes the AI with the Player and the Game object
 

Method Detail

computeCard

Card computeCard()
Compute a card to be played by the player

Returns:
The card computed by the AI

init

void init(Player p,
          JassRound game)
Initializes the AI with the Player and the Game object

Parameters:
p - The player which holds this AI
game - The game object

chooseRuleSet

RuleSet chooseRuleSet()
Choose a RuleSet out of the available Sets of a given scoreTable



Copyright 2005 MA Software. All Rights Reserved.