private Piece selectPiece(String type) {
		if (type == null) {
			return null;
		}
		if (type.equals("q") || type.equals("Q")) {
			return new Queen(recordBoard.getSide());
		}
		if (type.equals("r") || type.equals("R")) {
			return new Rook(recordBoard.getSide());
		}
		if (type.equals("k") || type.equals("K")) {
			return new Knight(recordBoard.getSide());
		}
		if (type.equals("b") || type.equals("B")) {
			return new Bishop(recordBoard.getSide());
		}
		return null;
	}