Choose a maze on the first screen. Next screen shows chosen maze at ground level, with arrows to move. FRom there you can get information on the maze, or a bird's eye view.
app/manifests/AndroidManifest.xml - to force orientation and provide multiple screens
app/res/drawable - pictures
Parts of the maze (hedge, path, sky, where these meet, arrows, etc. Icons for bird's eye view, information and finger pointing backwards.
app/res/mipmap/ic_launcher.png/ - icon for launching app
app/res/values/strings.xml - strings
Mazes"Tap on name to choose maze""Tap on arrow""You have reached the centre of the maze!""You have returned to the entrance.""You have reached the other entrance.""Maze index""Explore the maze""Birdseye view of maze""Information about maze""Information about app""Distance travelled "" Facing "RestartNew MazeHampton Court (original)Hampton Court (current)Chevening HouseHatfield House (entrance 1)Hatfield House (entrance 2)Bridge EndEgeskov CastleChose a maze. You can then explore the maze as if you were inside the maze (rather than seeing it from above).\n Click on the arrows to choose where to go.\nClick on the eye icon to see a bird\'s eye view (from above).\nClick on the book icon for information about the maze.\n\nThe mazes are not to scale and the directions are not necessarily correct, but the turns and branches are accurate.\n\nYou will find at times that you appear to be walking down a long corridor and nothing is happening. Be patient! Carry on, and eventually a turning will appear.Hampton Court is a Tudor palace near London, once owned by Henry VIII. In its grounds is a famous maze.\n\n It is Britain\'s oldest surviving hedge maze, and the oldest hedge maze in the world in continuous use.\n\nThe maze was designed by George London and Henry Wise in 1690. It was originally planted with hornbeam, but is now made of yew.\n\nYou can get to the centre of this maze by choosing at junctions always to turn left (or straight on if left is not available). It will also work if you always choose right. It is not the quickest path, though!The Hampton Court maze was designed in 1690 and a diagram of that design survives. The current design is slightly changed. There are three gaps in the hedge walls which were not in the original design.\n\nThat means that if you use a map of the original design to walk the modern maze, you will get lost!\n\nThe gaps may have been made when some of the yew trees making the hedge walls died and were not replaced.\n\nYou can get to the centre of this maze by choosing at junctions always to turn left (or straight on if left is not available). It will also work if you always choose right. It is not the quickest path, though!Chevening House, in Kent, is an official residence of Her Britannic Majesty\'s Principal Secretary of State for Foreign and Commonwealth Affairs.\n\nBetween 1818 and 1830 the 4th Earl of Stanthorpe planted a yew hedge maze at Chevening House to a design by the 2nd Earl, a famous mathematician of his day.\n\nSome mazes can be solved by always taking the first right (or left) turning. This maze cannot be solved in this way, as eventually you return to the entrance without ever finding the centre.Hatfield House is in Hertfordshire. It was built by Robert Cecil, 1st Earl of Salisbury, in 1611.\n\nThe yew maze at Hatfield House was planted in 1840.\n\nThere are two entrances to this maze. You can walk from one entrance to the other via the centre. This starts you at the first entrance.\n\nYou can get to the centre of this maze by choosing at junctions always to turn left (or straight on if left is not available). It will also work if you always choose right. It is not the quickest path, though!Hatfield House is in Hertfordshire. It was built by Robert Cecil, 1st Earl of Salisbury, in 1611.\n\nThe yew maze at Hatfield House was planted in 1840.\n\nThere are two entrances to this maze. You can walk from one entrance to the other via the centre. This starts you at the second entrance.\n\nYou can get to the centre of this maze by choosing at junctions always to turn left (or straight on if left is not available). It will also work if you always choose right. It is not the quickest path, though!Bridge End Garden is in Saffon Walden, Essex. It is a series of seven interlinked gardens laid out by the Gibson family in the nineteenth century.\n\nThe hedge maze was planted around 1870 and restored in 1986. It is made of yew hedges.\n\nThe maze is an odd shape. This version has been changed into a rectangle.\n\nYou can get to the centre of this maze by choosing at junctions always to turn left (or straight on if left is not available). It will also work if you always choose right. It is not the quickest path, though!Egeskov Castle is in Denmark. It was built in 1554.\n\nThere are several mazes in the grounds. The oldest one was created in the nineteenth century, and is made of beech. It is closed to the public to preserve it. However, you can explore it in this app! This is a simplified version of the maze.\n\nThere is a short path and a long path to the centre, and you can reach the centre from two different directions. It is possible to walk through the centre to carry on exploring the maze.\n\nSome mazes can be solved by always taking the first right (or left) turning. This maze cannot be solved in this way, as eventually you return to the entrance without ever finding the centre.
app/res/layout/activity_main.xml - menu screen format
app/res/values/styles.xml - styles
app/java/com.(the project name)/MainActivity - main code for app
package com.edkins.mazes;
import android.content.Intent;
import android.content.res.Resources;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompatActivity {
public static Integer[][] maze;
public static Integer[] exploreMaze = new Integer [49];
public static String name = " ";
public static String info = " ";
public static String[] face;
public static int wide = 0;
public static int deep = 0;
public static int startx = 0;
public static int starty = 0;
public static int startDirection = 0;
public static int manx = 0;
public static int many = 0;
public static int direction = 0;
public static int distance = 0;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Resources res = getResources();
face = res.getStringArray(R.array.directions);
}
public void doMaze1(View view) {
name = getString(R.string.maze1Text);
info = getString(R.string.maze1Info);
wide = 25; deep = 33;
startx = 1; starty = 15;
startDirection = 0;
maze = new Integer[][]{
{2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2},
{2,2,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,2,2},
{2,2,1,0,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,2,2},
{2,2,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,2,2},
{2,2,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,2,2},
{2,2,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,2,2},
{2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,1,2,2},
{2,2,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,2,2},
{2,2,1,0,1,0,0,0,0,0,1,3,3,3,1,0,0,0,1,0,0,0,1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,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,2,2},
{2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,2,2},
{2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,2,2},
{2,2,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,2,2},
{2,2,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,2,2},
{2,2,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,2,2},
{2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2},
};
goExplore();
}
public void doMaze3(View view) {
name = getString(R.string.maze3Text);
info = getString(R.string.maze3Info);
wide = 43; deep = 45;
startx = 21; starty = 43;
startDirection = 3;
maze = new Integer[][]{
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,1,1,1,1,1,1,0,1,0,1,0,1},
{1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1},
{1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1},
{1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1},
{1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1},
{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
};
goExplore();
}
public void doMaze4(View view) {
name = getString(R.string.maze4Text);
info = getString(R.string.maze4Info);
wide = 37; deep = 49;
startx = 18;starty = 1;
startDirection = 1;
maze = new Integer[][]{
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1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,2},
{2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,2},
{2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,2},
{2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2},
{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
};
goExplore();
}
public void doMaze5(View view) {
name = getString(R.string.maze5Text);
info = getString(R.string.maze5Info);
wide = 37; deep = 49;
startx = 18; starty = 47;
startDirection = 3;
maze = new Integer[][]{
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
{2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2},
{2,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
{2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2},
{2,1,1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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
};
goExplore();
}
public void doMaze6(View view) {
name = getString(R.string.maze6Text);
info = getString(R.string.maze6Info);
wide = 27; deep = 34;
startx = 13; starty = 32;
startDirection = 3;
maze = new Integer[][]{
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2},
{2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2},
{2,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,2,2,2,2},
{2,2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,1,1,1,0,1,1,1,1,1,1,1,1,1,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,1,0,1,2,2,2,2,2,2,2,2,2,2,2,2},
{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2},
};
goExplore();
}
public void doMaze7(View view) {
name = getString(R.string.maze7Text);
info = getString(R.string.maze7Info);
wide = 31; deep = 39;
startx = 3; starty = 19;
startDirection = 0;
maze = new Integer[][]{
{2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2},
{2,2,2,2,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2},
{2,2,2,2,1,0,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,2,2,2,2},
{2,2,2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,2,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,2,2,2,2},
{2,2,2,2,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,2,2,2,2},
{2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2},
};
goExplore();
}
public void goExplore() {
manx = startx; many = starty;
direction = startDirection;
distance = 0;
Intent intent = new Intent(this,Explore.class);
startActivity(intent);
}
public void doInformation(View view) {
info = getString(R.string.mazeInfo);
Intent intent = new Intent(this,Information.class);
startActivity(intent);
}
}
app/res/layout/explore.xml - explore maze screen format
app/java/com.(the project name)/Explore - code for explore maze screen