Skip to content

Instantly share code, notes, and snippets.

@shelaf
Last active October 26, 2017 14:04
Show Gist options
  • Save shelaf/ea590268c6ce20890956c38890f75607 to your computer and use it in GitHub Desktop.
Save shelaf/ea590268c6ce20890956c38890f75607 to your computer and use it in GitHub Desktop.
int[][] map = new int[][]{
new int[]{-1, 1, 1, -1, -1, 1, 1, -1, -1, 1},
new int[]{ 1, 36, 1, 0, -1, -1, -1, -1, -1, -1},
new int[]{-1, -1, -1, 1, 1, -1, 1, -1, 1, 1},
new int[]{ 1, 0, -1, -1, 1, -1, 1, -1, 1, -1},
new int[]{-1, 1, 1, -1, -1, -1, -1, 0, 1, -1},
new int[]{ 1, -1, 1, -1, -1, 1, -1, 1, -1, 1},
new int[]{-1, 0, -1, -1, -1, 1, -1, -1, -1, 1},
new int[]{-1, 1, -1, 1, 1, -1, 1, -1, -1, -1},
new int[]{-1, 1, -1, -1, -1, 1, 1, -1, -49, 1},
new int[]{-1, -1, 1, 1, -1, -1, -1, 1, -1, -1}
};
start = map[1][1]
goal = map[9][9]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment