Collect all money to win.
Hero position: i10, j7 , moved 1 times.
Monster position: i11, j9, moved times.
Hero has been eaten times.
Graphical view:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||         $   ||||
||||      ||||    ||||||||||||
||||$   $        ||||
||||             ||||
|||| $           ||||
||||             ||||
||||    ||||        ||||
||||        ||||    ||||
||||    ||||H       ||||
||||       M ||||  ||||||||
||||             ||||
|||| ||||        $  ||||
||||   $         ||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Matrix (calculations) view:
111111111111111
100000000020001
100000010000111
120002000000001
100000000000001
102000000000001
100000000000001
100001000000001
100000000100001
100001300000001
100000004010011
100000000000001
101000000002001
100020000000001
111111111111111