Can check if snakes dies. Can control snake using keydown events.