public Point getCorner() {
        System.out.print("Finding corner");
        Color edge = new Color(0xbbada0);
        int total = 500;
        int current = 0;
        for (int x = 228; x < GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getWidth(); x++) {
            for (int y = 0; y < GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds().getHeight(); y++) {
                if (edge.equals(jFenrir.getPixelColor(x, y))) {
                    current++;
                    if (current % 100 == 0) System.out.print(".");
                    if (current == total) {
                        System.out.println();
                        return new Point(x, y);
                    }
                } else {
                    if (current > 0) System.out.println(new Point(x, y));
                    current = 0;
                }
            }
            System.out.println("Calculating " + x + "th row");
        }
        System.out.println("Please open the 2048 window");
        System.out.println();
        return getCorner();
    }