At the end of the game , a scene where Robotnik stomps on the word `` End '' angrily appears .
If the player collects all the Chaos Emeralds and completes the game , an ending sequence is shown .
Sonic the Hedgehog -LRB-1991 video game-RRB-