// 创建一个12*15的网格区域
a := CreateArea(12, 15)
// 设置路障
a.LockGrid(0, 4)
....
a.LockGrid(4, 12)
// 设置起始点
c := a.GetGrid(1, 14)
e := a.GetGrid(1, 0)
// 打印地图和路线
a.P(c, e)
# e * # # # # # # # # #
# # * * * # # # # # # #
# # # # * * * # # # # #
# # # # # # * * * * # #
= = = = = = = = = * # #
# # # # # # # # # * # #
# # * * * * * * * * # #
# # * = = = = = = = = =
# # * * * * * * * * # #
= = = = = = = = = * # #
# # # # # # # # = * # #
# # # * * * # # = * # #
# * * * = * * * * * # #
# * # # = # # # # # # #
# s # # = # # # # # # #