package li.seiji.minichess;

public enum Player {

    BLACK,
    WHITE

}

package li.seiji.minichess;

public enum Player {

    WHITE,
    BLACK;

    public static Player parseIdentifier(char identifier) {
        return Character.isUpperCase(identifier) ? WHITE : BLACK;
    }

}

Implement identifier parser for Player-Enum