Collect all money to win.
Hero position: i8, j13 , moved 1 times.
Monster position: i5, j5, moved times.
Hero has been eaten times.
Graphical view:
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||          |||| ||||
||||            ||||||||
||||             ||||
||||   M         ||||
||||             ||||
|||| ||||     $     ||||
||||           H ||||
||||    $   $    ||||
|||| |||| $  |||| $    ||||
||||             ||||
||||             ||||
||||||||  $||||        ||||
||||  ||||   ||||      ||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Matrix (calculations) view:
111111111111111
110000000000101
100000000000011
100000000000001
100040000000001
100000000000001
101000002000001
100000000000301
100002000200001
101020010200001
100000000000001
100000000000001
110021000000001
100100010000001
111111111111111