- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.py
More file actions
Latest commit
21 lines (19 loc) · 484 Bytes
/
Copy pathinput.py
File metadata and controls
21 lines (19 loc) · 484 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 0 = Walkable path
# 1 = Wall
maze= [
[0,0,0,1,1,1,1,1,1,1,1,1],
[1,1,0,1,0,0,0,0,0,0,0,1],
[0,0,0,1,0,1,1,1,1,1,0,1],
[0,1,1,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,0,1,0,1,0,1],
[1,1,1,1,0,1,0,1,0,1,0,1],
[0,0,0,1,0,1,0,1,0,1,0,1],
[0,1,0,1,0,1,0,1,0,0,0,1],
[0,1,0,0,0,1,0,1,1,1,0,1],
[0,1,1,1,1,1,0,0,0,1,0,1],
[0,0,0,0,0,0,0,1,0,0,0,0],
[1,1,1,1,1,1,1,1,1,1,1,0]
]
start= (0,0)
end= (11,11)
# Start and goal positions (row, col)