I am a super noob at coding. I am making a game for a cat versus mouse game. I have the code for when the cat touches the mouse the mouse disappears, but I need code to end the game if the mouse eats all the bread in the world or the cat eats the mouse.

