@Override
	public void discard(int card){
		//Check if we're discarding the drawn card
		if (card == board.animate.card)
			board.playDiscard(board.animate);
		else{
			Card[] arr = current_player == 0 ? board.rack_human : board.rack_ai;
			for (int i=0; i<rack_size; i++){
				if (card == arr[i].card){
					board.playDiscard(arr[i]);
					break;
				}
			}
		}
	}