作業四:老鼠走迷宮
上傳截止日: 11/8 晚上12點
如果對於datagridview表示迷宮有疑惑
可以參考此網頁:https://sites.google.com/site/sjdsalg/materials/program/mazeusingdatagrid
顏色請自行發揮
迷宮可用兩種方式產生
1.
迷宮事先建在文字檔中,就像老鼠走迷宮程式範例網頁中的執行檔一樣;
如何讀入檔案, 可參考: https://sites.google.com/site/sjdsalg/materials/program/readwritefiles
但請注意,迷宮不要太小,繳交時請把文字檔附在專案中,以便測試。
2.
用亂數產生迷宮,但請注意務必確保有路可出迷宮。