private void checkAllForWumpus(WumplusEnvironment we) {
        Hashtable<Point, CaveNode> grid = we.grid;

        for (int i = 1; i <= 10; i++) {
            for (int j = 1; j <= 10; j++) {
                Point point = new Point(j, i);
                CaveNode node = grid.get(point);

                if (node.wasVisited) {
                    if (checkAreaForWumpus(we, node))
                        return;
                }
            }
        }
    }