eaten function, worked on death, player cannot move past edges of window