Basic components include;

A player
Obstacles
Floor
Walls
Text

Pretty self explanatory to create one, but let me know if you need any help with specific scripts!