public Game.PlayerType getType() {
        if (this instanceof HumanPlayer) {
            return Game.PlayerType.HUMAN;
        }

        if (this instanceof ComputerPlayer) {
            if (this instanceof EasyComputerPlayer) {
                return Game.PlayerType.COMPUTER_EASY;
            }

            if (this instanceof MediumComputerPlayer) {
                return Game.PlayerType.COMPUTER_MEDIUM;
            }

            if (this instanceof HardComputerPlayer) {
                return Game.PlayerType.COMPUTER_HARD;
            }
        }

        return null;
    }