Examples of AIPlayer


Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        D.addLog("AI:getDamageTarget: " + list+" damage: "+damage,debugLevel);

        CardList damgedList = list.getSubListIntStateSet(Card.CARD_DAMAGE);
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        if (list.size() == 0) return null;

        if (intelligence == 10)
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();

            CardList targets = new CardList();
            if (!myself)
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        D.addLog("AI:getPowerTarget: " + list,debugLevel);

                    CardList damgedList = list.sortListByPower();
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        CardList healerList = AIHelper.onlyWithHint(list, "HEAL_AMOUNT");
        int less=0;

        for (int i=0; i < healerList.size(); i++)
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int intelligence = aiPlayer.mStrategie.getIntelligence();
        if (!myself)
        {
            return AIHelper.getHarmlessTarget(list, intelligence);
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int damageAmount = 0;
        damageAmount = AIHelper.getHintInt(source, "DAMAGE_AMOUNT");
        if (damageAmount == 0)
        {
View Full Code Here

Examples of csa.jportal.ai.AIPlayer

    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        int debugLevel = 3;
        MatchComputerPlayer player = (MatchComputerPlayer)pl;
        MatchPlayable opponent = match.getOpponent(pl);
        AIPlayer aiPlayer = player.getAIPlayer();

        int damageAmount = 0;
        damageAmount = AIHelper.getHintInt(source, "DAMAGE_AMOUNT");
        if (damageAmount == 0)
        {
View Full Code Here

Examples of ee.ttu.cs.iti0011.iabb104231.k1.Player.AIPlayer

 
    // Create AI players. Choose AIStrategy.
    // For now we test simple strategy - dumb - random cell picking
    // and CertainCellsFirst strategy - this is for 1 part.
//    AIPlayer ai1 = new AIPlayer(new Dumb(), "AI - Dumbas");
    AIPlayer ai2 = new AIPlayer(new CertainCellsFirstStrategy(), "AI - 2 lisaosa");
//    AIPlayer ai2 = new AIPlayer(new SimpleAi(), "AI - 2 lisaosa");
    AIPlayer ai1 = new AIPlayer(new SimpleAi(), "AI - 1");
//    HumanPlayer ai1 = new HumanPlayer("Priit");
//    HumanPlayer ai2 = new HumanPlayer("Eugeni");
//    AIPlayer ai2 = new AIPlayer(new Dumb(), "AI - 2");
//    AIPlayer ai2 = new AIPlayer(new Dumb(), "AI - 2");
View Full Code Here

Examples of minesweeper.ai.players.AIPlayer

 
  public static void main(String... args) throws IOException, InterruptedException {
   
    GameState game = Windows7GameState.createAdvancedGame();
   
    AIPlayer player = new ProbablisticSearchTreeAI(DebugMode.ON);
    player.solve(game);
    Thread.sleep(3333);
    System.out.println(game.getState());
   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.