Throw color ball into snake and it will become a snake segment of snake and increase it's length. If snake has 3 or more continuous same color segments they will be removed and snake's length will be reduced. Keep removing snake segments and don't let the snake reach and eat eggs.