Small "Pyramid Escape" text-based game I'm extremely amateur when it comes to C++ in general, but I wanted to make a little "Pyramid Escape" text based game. I'm not done whatsoever but before I continue I want to see what I could possible do differently. 

//
//  main.cpp
//  TextFiles
//
//  Created by Neal Carico on 3/12/15.
//  Copyright (c) 2015 Nedev. All rights reserved.
//

#include &lt;iostream&gt;
#include &lt;cstdlib&gt;

using namespace std;

int main(int argc, const char * argv[]) {

string start;
string restart;
string dead;
int turn1;
int turn2;
int turn3;
int turn4;
string decision1;
string decision2;
string decision3;
string decision4;
string decision5;
int random1;
int random2;
int random3;


while(restart != "dontrestart" || dead != "false"){
cout &lt;&lt; "Welcome to the worlds largest pyramid. . . Type 'start' to enter or 'leave' to walk away..." &lt;&lt; endl;
cin &gt;&gt; start;

///The Start
if (start == "start"){

///The main part of the game.

    cout &lt;&lt; "Oh no! The pyramid collapsed trapping you in. You are the only one alive. . ." &lt;&lt; endl;

    int score=0;

    cout &lt;&lt; "Okay. So you have two options here. . .Left(1) or right(2)?" &lt;&lt; endl;
    cin &gt;&gt; turn1;
    if(turn1 == 2){
        cout &lt;&lt; "BAM! The roof collapsed over you and you die. Sad stuff" &lt;&lt; endl;
        cout &lt;&lt; "Thank you for playing. Your score was " &lt;&lt; score &lt;&lt; endl;
        exit(1);
    }
    cout &lt;&lt; "You took the left path. And then BAM! The path to the right collapsed... lucky you." &lt;&lt; endl;
    score++;
    cout &lt;&lt; "There gold on the ground.. do you pick it up?[y/n]" &lt;&lt; endl;
    cin &gt;&gt; decision1;

    if(decision1 == "y"){
        cout &lt;&lt; "You greedy bastard you. Lucky I like the irony and am not going to kill you in this instance... You find 10 gold." &lt;&lt; endl;
        score = score + 10;
    }

    cout &lt;&lt; "You start heading forward again and come to another turn. But this time there are actually four options... :)" &lt;&lt; endl;
    random1 = rand() % 4 +1;
    cout &lt;&lt; "Your options are as follows. 1) Up to right 2)Down to right 3)Up to left and 4)Down to left. This one changes everytime ;). The random number is " &lt;&lt; random1 &lt;&lt; endl;
    cin &gt;&gt; turn2;
    if (turn2 == random1) {
        cout &lt;&lt; "BAM! The roof collapsed over you and you die. Sad stuff" &lt;&lt; endl;
        cout &lt;&lt; "Thank you for playing. Your score was " &lt;&lt; score &lt;&lt; endl;
        exit(1);
    }
    cout &lt;&lt; "Sweet. You made it. There's a point." &lt;&lt; endl;
    score++;

    cout &lt;&lt; "Okay you start walking down the tunnel and something is moving in the distance. Do you approach it or head back to one of the other tunnels?(continue/return" &lt;&lt; endl;
    cin &gt;&gt; decision2;
    if(decision2 == "continue"){
        cout &lt;&lt; "Yup, I'm not nice enough to give you a break 2 times in a row. Dead." &lt;&lt; endl;
        cout &lt;&lt; "BLAAAHHHGGGG!! The figure is a crazed mummy who attacks you and you die. Sad stuff" &lt;&lt; endl;
        cout &lt;&lt; "Thank you for playing. Your score was " &lt;&lt; score &lt;&lt; endl;
        exit(1);
    }
    cout &lt;&lt; "There is a screeching sound as you turn around." &lt;&lt; endl;
    score++;




///End of game stuff

}else if(start == "leave"){
    cout &lt;&lt; "You walked away and heard a huge BOOM and saw the pyramid collapsed trapping the tour group in. You are" &lt;&lt;
    " one lucky person. Sure you lived, but you didn't even play the game. How lame.You can type 'restart' to try again, but you're always going to be a loser to me." &lt;&lt; endl;
}else{
    cout &lt;&lt; "Error. Please type restart or 'dontrestart' (notice there are no spaces) to exit the game..." &lt;&lt; endl;
}
    cin &gt;&gt; restart;
    if (restart !="restart"){
        exit(1);
    }

}
return 0;

}
First, don't use using namespace std;, or any other namespace, for that matter. This can cause you have load functions with the same name, which can cause problems. This is discussed in more detail here.

Second, you have a ton of variables you never use, including:

int turn3;
int turn4;
string decision3;
string decision4;
string decision5;
int random2;
int random3;


Third, you should use move functions.  One candidate for a function is asking whether to restart the game.

Fourth, I would use bools for dead and restart.  You will need to convert the input for restart, but it better represents what is happening.

Fifth, you should consistently indent your code at 4 spaces per level.  You do this for the most part, but you do not do this in main().