Collect all money to win.
Hero position: i6, j2 , moved 1 times.
Monster position: i14, j12, moved times.
Hero has been eaten times.
Graphical view:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||             ||||
||||             ||||
||||   $         ||||
||||       $|||| ||||  ||||
||||H ||||          ||||
||||||||            ||||
||||    ||||     ||||  ||||
||||  ||||  $       ||||
||||             ||||
||||    ||||    $   ||||
||||$   $   ||||    ||||
||||             ||||
||||          M|||| ||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Matrix (calculations) view:
111111111111111
100000000000001
100000000000001
100020000000001
100000002101001
130100000000001
110000000000001
100001000001001
100100200000001
100000000000001
100001000020001
120002000100001
100000000000001
100000000004101
111111111111111