I just realized that i forgot to add a timer. You don't 'win', you just survive longer before becoming a zombie. If you managed to eat all the walls without starving then i guess you win - each time you eat something it digests a little faster, and each thing you fully digest makes you less hungry. Eventually you can eat anything within two seconds.