Snake game

Hi there!
I am trying to create a game like SNAKES, the one that u move a snake or worm around and when it “eats” certain stuff it will increase in size.
I know, or at least have an idea, on how to move the snake around. But cannot firgure out how to increse the size of the same snake when it eats the “fruit”.
Could anyone give me a hint, suggestion, idea?
Thanks a lot.
CHeers.
Leo.