public static AI createAI(Game game, int AItype, boolean color) {
		// TODO Auto-generated method stub
		if(AItype==RANDOM)
		{
			return new RandomAI(game, color);
		}else if(AItype==AI.RANDOM_AGGRESSIVE)
		{
			AI answer = new RandomAggressive(game,color);
			return answer;
		}else if(AItype==AI.BAD_THINKER)
		{
			return new TreeAI(game, color, 1);
		}else
		{
			return null;
		}
	}