--basic basic GUI

print "The USSR has attacked West Germany!"
print "---------"
print ("1. Counterattack.")
print ("2. Fortify France.")
print ("3. Retreat to Britain.")

local choice = io.read()


if choice == "1" then
    print "-------------------"
    print "You chose option 1."
    print "-------------------"
print "You cut off their armies and force them to move back to Poland"
print "-------------------"
    print ("1. Splendid!")
    local secondChoice = io.read()


if secondChoice == "1" then
     print "-------------------"
    print "The USSR has now launched missiles on France. Will you retaliate?"
         print "-------------------"
        print ("1. Yes.")
        print ("2. No. Let France deal with their own problems!")
        local thirdChoice = io.read()
       
        if thirdChoice == "1" then
         print "-------------------"
        print "Our missiles will strike Leningrad and Moscow to cripple Russian industry."
             print "-------------------"
        
        elseif thirdChoice == "2" then
                 print "-------------------"
                print "Very well then, we will move NATO assets out of France."
                 print "-------------------"
                end
            end
        end 
    


    
if choice == "2" then
    print "-------------------"
    print "You chose option 2."
    print "-------------------"
print "The Soviets are in the Rhineland! Prepare for total war."
print "-------------------"
    print ("1. Crap!")
        local secondChoice = io.read()

if secondChoice == "1" then
     print "-------------------"
        print "They have begun their attack on Strasbourg! What will we do!?!"
        print "-------------------"
        print ("1. Fire missiles on their lines and move the government to Bordeaux!")
    
        local thirdChoice = io.read()
       
             if thirdChoice == "1" then
            print "-------------------"
            print "Very well then, NATO forces will strike the Soviet lines and French politicians will be evacuated."
            print "-------------------"
        end
    end
end

if choice == "3" then
    print "-------------------"
    print "You chose option 3."
    print "-------------------"
print "Your nation has fallen to the hands of the USSR. You are now a traitor to your own people."
end

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: