Collect all money to win.
Hero position: i10, j12 , moved 1 times.
Monster position: i6, j14, moved times.
Hero has been eaten times.
Graphical view:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||    |||| $      ||||
||||      ||||      ||||
||||     ||||       ||||
||||     ||||    |||||||| ||||
||||            M||||
||||          $  ||||
||||             ||||
||||             ||||
||||   $      H  ||||
|||| ||||         ||||||||||||
||||             ||||
||||    $$ $   |||| ||||
||||             ||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Matrix (calculations) view:
111111111111111
100001020000001
100000010000001
100000100000001
100000100001101
100000000000041
100000000002001
100000000000001
100000000000001
100020000003001
101000000000111
100000000000001
100002202000101
100000000000001
111111111111111