public boolean sameColorInline(Coords current, Direction dir, Player player) {
        boolean result = false;
        current = nextCoords(current, dir);
        Chip current_chip = this.getChip(current.getCoordsRow(), current.getCoordsCol());

        while(current_chip.getStatus()) {

            if(ChipColor.isSame(player.getColor(), current_chip.getChipColor())) {
                result = true;
                break;
            }
            //current = nextCoords(current, dir); //Will not crash, but will not allow you to reach the end of the column
            if(inBounds(current, dir)) {
                current = nextCoords(current, dir); // Will allow you to reach the end of column, but will crash
                current_chip = this.getChip(current.getCoordsRow(), current.getCoordsCol());
            }
            else
                break;
        }
        return result;
    }