Skip to content

Instantly share code, notes, and snippets.

@jamonholmgren
Created July 31, 2020 03:30
Show Gist options
  • Save jamonholmgren/378f3184692f7e56bed7e29ad5851034 to your computer and use it in GitHub Desktop.
Save jamonholmgren/378f3184692f7e56bed7e29ad5851034 to your computer and use it in GitHub Desktop.
/* eslint-disable no-sparse-arrays */
const W = "wall";
// prettier-ignore
export const Maze = [
[ W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, , , , , , , , , , , , , , , , , , , W ],
[ W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W, W ],
].map(r => Array.from(r))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment