Collect all money to win.
Hero position: i14, j8 , moved 1 times.
Monster position: i7, j10, moved times.
Hero has been eaten times.
Graphical view:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||             ||||
||||             ||||
||||       ||||  |||| $||||
||||       ||||    $||||
|||| $  ||||        ||||
||||        M    ||||
||||           |||| ||||
||||  $          ||||
||||  $      ||||   ||||
||||       ||||     ||||
||||             ||||
||||             ||||
||||||||   $ H      ||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Matrix (calculations) view:
111111111111111
100000000000001
100000000000001
100000001001021
100000001000021
102001000000001
100000000400001
100000000000101
100200000000001
100200000010001
100000001000001
100000000000001
100000000000001
110002030000001
111111111111111