01204212/homework/maze
รุ่นแก้ไขเมื่อ 04:02, 5 ธันวาคม 2559 โดย Jittat (คุย | มีส่วนร่วม) (หน้าที่ถูกสร้างด้วย ': ''This is part of 01204212'' In this homework you will write a maze solver. The following is a sample maze. You start at O and...')
- This is part of 01204212
In this homework you will write a maze solver. The following is a sample maze. You start at O and your exit is at X.
################# #O........#.....# #########.####### #...#...#.#.....# #.#.#.#.#.##.##.# #.#...#......#..# #.#############.# #..#....#.......# #.##.#.##.#.##### #....#....#....X# #################
The output should be:
################# #O>>>>>>>v#.....# #########v####### #...#...#v#.>>>v# #.#.#.#.#v##^##v# #.#...#..>>>^#.v# #.#############v# #..#....#..v<<<<# #.##.#.##.#v##### #....#....#>>>>X# #################