package mahjong.player.ai; /** * Created by joe on 12/2/14. */ public class Values { public static final double[] valuesI = new double[]{}; public static final double[] deckValue = new double[] { 5, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8, 8, 8, 8, 8, 5, 6,6,6,6, 6,6,6,0 }; public static final double[] spitRate = new double[] { 0,6,4,3,4 }; public static double calCardSpitProb(int rems, int id) { return spitRate[rems]/deckValue[id]; } }