Gollum was first introduced in the Hobbit as "a small, slimy creature" who lived on a small island in the centre of a lake at the roots of the Misty Mountains. He survived on cave fish, which he caught from his small boat, and small goblins who strayed too far from the stronghold of the Great Goblin. Over the years, his eyes adapted to the dark and became "lamp-like", shining with a sickly pale light.
Bilbo Baggins stumbled upon Gollum's lair, having found Gollum's ring in the network of goblin tunnels leading down to the lake. At his wits' end in the dark, Bilbo agreed to a riddle game with Gollum on the chance of being shown the way out of the mountains. In the early editions of The Hobbit, Gollum was characterized as being less bound to the Ring than in later versions; he offered to give the Ring to Bilbo if he lost the riddle game, and he showed Bilbo the way out of the mountains after losing. But to fit the concept of the ruling Ring that emerged during the writing of The Lord of the Rings, Tolkien revised later editions of The Hobbit: the version of the story given in the first edition became the lie that Bilbo made up to justify his possession of the Ring to the Dwarves and Gandalf. In the new version Gollum pretended that he would show Bilbo the way out if he lost the riddle-game, but he actually planned to use his ring to kill and eat the hobbit. Discovering the ring missing, he suddenly realized the answer to Bilbo's last riddle — "What have I got in my pocket?" — and flew into a rage. Bilbo inadvertently discovered the Ring's power of invisibility as he fled, allowing him to follow Gollum undetected to a back entrance of the caves. Gollum was convinced that Bilbo knew the way out all along, and hoped to intercept him near the entrance, lest the goblins apprehend Bilbo and find the ring. Bilbo at first thought to kill Gollum in order to escape, but was overcome with pity, and so merely leapt over him. As Bilbo escaped, Gollum cried out, "Thief, Thief, Thief! Baggins! We hates it, we hates it, we hates it forever!"
Read more about this topic: Smeagle, Appearances