public static Move forName(String moveName){
		Move move;
		if (moveName.toLowerCase().contains(FOLD_STR)){
			move = FOLD;
		}else if (moveName.toLowerCase().contains(CHECK_STR)){
			move = CHECK;
		}else if (moveName.toLowerCase().contains(BET_STR)){
			move = BET;
		}else if (moveName.toLowerCase().contains(CALL_STR)){
			move = CALL;
		}else if (moveName.toLowerCase().contains(RAISE_STR)){
			move = RAISE;
		}else if (moveName.toLowerCase().contains(POST_STR)){
			move = POST;
		}else if (moveName.toLowerCase().contains(COLLECTED_STR) 
				|| moveName.toLowerCase().contains(WON_STR)){
			move = WIN;
		}else if (moveName.toLowerCase().contains(UNCALLED_STR)){
			move = UNCALL;
		}else{
			throw new IllegalArgumentException("Move name is illagal: "+moveName);
		}
		return move;
	}