
jadex.bdi.examples.blackjack.player.strategies.IStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bdi Show documentation
Show all versions of jadex-applications-bdi Show documentation
The Jadex BDI applications package contain
several example applications, benchmarks and
testcases using BDI agents.
The newest version!
package jadex.bdi.examples.blackjack.player.strategies;
import jadex.bdi.examples.blackjack.Card;
/**
* Interface for a player strategy.
*/
public interface IStrategy
{
/**
* Get the strategy name.
* @return The name.
*/
public String getName();
/**
* Calculate how much to bet, given the account value.
*/
public int makeBet(int account);
/**
* Decide if to draw another card.
*/
public boolean drawCard(Card[] cards, Card dealercard);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy