Published
Edited
Apr 11, 2022
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
maze = {
// # - wall
// x - danger
// s - start position
// e - big goal position
// z - small goal position
// . - empty floor
return([
'############',
'#.......#x.e',
'#.......#x.#',
'#...#...#x.#',
'#...#...#x.#',
'#...#...#..#',
'#...#...#.x#',
'#...#..z#.x#',
'#...#####.##',
'#..xxxxxx.x#',
'#..x......x#',
'#s.xxxxxxxx#',
'############'
])
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more