Closed chm10 closed 4 years ago
Is difficult to operate using only a big string with \n characters. So I will convert string into numpy array.
\n
[0, 0, 0, 0, 0, ...] [0, 0, 0, 0, 0, ...] [0, 0, 0, 0, 0, ...] ...
| as wall == 0
. as path == 1
0 == wall
1 == path
2 == startpoint
3 == goal
4 == block
Is difficult to operate using only a big string with
\n
characters. So I will convert string into numpy array.