private Move findBest(ArrayList<GameTree> genOneChildren) {
		// TODO Auto-generated method stub
		ArrayList<GameTree> theBest = new ArrayList<GameTree>();
		theBest.add(genOneChildren.get(0));

		for(int i = 1 ; i < genOneChildren.size();i++)
		{
			
			GameTree theNode = genOneChildren.get(i);
			if(myColor==Game.WHITE)
			{
				if(theNode.myValue>theBest.get(0).myValue){//this move is better than the previous best moves
					theBest = new ArrayList<GameTree>();
					theBest.add(theNode);
				}else if(theNode.myValue==theBest.get(0).myValue){//same value, add it to the list
					theBest.add(theNode);
				}else
				{
					//do nothing, because this move is worse than the current list
				}
			}else//myColor = black
			{
				if(theNode.myValue<theBest.get(0).myValue){//this move is better than the previous best moves
					theBest = new ArrayList<GameTree>();
					theBest.add(theNode);
				}else if(theNode.myValue==theBest.get(0).myValue){//same value, add it to the list
					theBest.add(theNode);
				}else
				{
					//do nothing, because this move is worse than the current list
				}
			}
		}
		return this.getRandomMove(theBest);
	}