Please Awnser

How would i make a game, like a snake game, were when you get a ball it adds it too your body?