Examples of FoldAction


Examples of org.cspoker.ai.bots.bot.gametree.action.FoldAction

        model.getFoldCallRaiseProbabilities(gameState, actor);
      model.forgetLastAssumption();
//      if (size != model.getVisitorSize()) throw new IllegalStateException("Model didn't forget last assumption");

      double foldProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new FoldAction(gameState, actor), foldProbability));

      double callProbability = probabilities.getMiddle();
      actions.add(new ProbabilityAction(new CallAction(gameState, actor), callProbability));

      if (!gameState.getPlayer(bot).isAllIn()
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.action.FoldAction

      // call, raise or fold
      Triple<Double, Double, Double> probabilities =
        model.getFoldCallRaiseProbabilities(gameState, actor);

      double foldProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new FoldAction(gameState, actor), foldProbability));

      double callProbability = probabilities.getMiddle();
      actions.add(new ProbabilityAction(new CallAction(gameState, actor), callProbability));

      if (!gameState.getPlayer(bot).isAllIn()
View Full Code Here

Examples of org.cspoker.common.api.lobby.holdemtable.holdemplayer.action.FoldAction

  public void checkOrCall() throws RemoteException, IllegalActionException {
    performer.perform(new CheckOrCallAction(generator.getNextID(),tableID));
  }

  public void fold() throws RemoteException, IllegalActionException {
    performer.perform(new FoldAction(generator.getNextID(),tableID));
  }
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.