Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Boot up sequence by Michael Desousa
- choice1= "Yes"
- choice2= "No"
- print (30* "_")
- print "| | |"
- print "| | |"
- print "| | |"
- print "| | |"
- print "|_____________|______________| WINDOWS 10"
- print "| | |"
- print "| | |"
- print "| | |"
- print "| | |"
- print (30* "_")
- print "System Check Iniated:\n"
- def systemcheck():
- answer=raw_input('Can you see this? Input Answer: ')
- if answer == 'no':
- print '-->Monitor and Keyboard connected, Continuing System Check.'
- systemcheck()
- else:
- print "-->Monitor and Keyboard connected, Continuing System Check."
- systemcheck()
- def systemcheck1():
- answer=raw_input('Can you move your mouse? Input Answer:')
- if answer == 'no':
- print 'Please unconnect mouse and plug back in.'
- elif answer == 'yes':
- print 'System Check Good.'
- systemcheck1()
- import time
- print " --LOADING--"
- print "Welcome, please type in your correct username or password in order to gain access to the desktop"
- name = raw_input("Type in your username:")
- password = raw_input("Type in your password:")
- print ('Welcome %s.\n') % name
- time.sleep(1)
- print ("-Loading-")
- time.sleep(1)
- #Andres and Damien
- def system(): #System = Task Manager
- import time
- print 'Task Manager'
- print '-'*30
- print '\n1. Check programs running\n2. End all programs\n'
- TM = int(raw_input("If you would like to end all processes please type an option from above here :\n"))
- if TM == 1:
- print 'There are %s programs running' % 2
- elif TM == 2:
- print 'Ended all programs\n',
- time.sleep(1)
- print '0 programs running\n'
- else:
- print 'Invalid Number. Run Again!\n\n'
- #Damien Abrams
- def Adventuregame():
- print (30 * '-')
- print (" M A I N - M E N U")
- print (30 * '-')
- print ("Welcome to: \n Zombie Survival")
- sav = "for the tough, strong, and the brave"
- zombie = "the dead"
- print "This is a game %s but how can they reach the top while fighting against %s." % (sav, zombie),
- print "All alone in a place where no one can hear you scream but the zombies seeking to eat you alive!!"
- choice = raw_input("Press 1 to start game!")
- choice = int(choice)
- if choice == 1 :
- print ("Starting Game!")
- print ("You begin the game inside of an abandonded farm, what do you do?")
- choice = int(choice)
- print "1. You see a closed door and you decide to approach it"
- print "2. You see an open window and want to look out for an exit"
- print "3. You want to look around the room for a weapon and see what you can find."
- print "4. You Decide you want to look around for a phone and call for help."
- choice = raw_input('Enter your choice [1-4] :')
- choice = int(choice)
- if choice == 1 :
- print " You go to the door and try and open it and find that it is open, a zombie then runs through the door and eats you. \n GAME OVER."
- exit
- elif choice == 2 :
- print " You go over to the window and open it, just as you do a zombie comes from behind you and knocks you out the window to your death. \n GAME OVER"
- exit
- elif choice == 3 :
- print " You find a magnum revolver on the top of a bookshelf,\tjust then a zombie comes and you shoot him just in the nick of time and kill him, you then decide to leave the house in victory \n YOU HAVE WON! CONGRATULATIONS!!."
- elif choice == 4:
- print "You go to the nightstand to look for a phone, just then a zombie underneath the bed grabs your foot and kills you. \n GAME OVER"
- exit
- else:
- print "Invalid Answer"
- #Andres Orbe
- import time
- def Logoff():
- print '-'*40
- print 'LOGOFF PROGRAM'
- print '-'*40
- Logchoice = float(raw_input('\n1.Continue Logoff\n2.Cancel Logoff\n')) # float allows raw_input to register an integer
- if Logchoice == 1:
- print 'Logging off',
- time.sleep(1) #Delays next request
- print '.',
- time.sleep(1)
- print '.',
- time.sleep(1)
- print '.'
- elif Logchoice == 2:
- print 'Logoff cancelled',
- time.sleep(.5)
- print '.',
- time.sleep(.5)
- print '.',
- time.sleep(.5)
- print '.'
- else:
- print 'Invalid number. Run program again!'
- print '\n\n'
- def RebootShutdown():
- print '-'*40
- print 'Reboot / Shut down'
- print '-'*40
- rechoice = raw_input('\n1.Reboot\n2.Shut Down\n')
- rechoice = int(rechoice)
- import time
- if rechoice == 1:
- time.sleep(2)
- print 'Starting reboot', # the comma keeps it in the periods in the same line.
- time.sleep(1)
- print '.',
- time.sleep(1)
- print '.',
- time.sleep(1)
- print '.'
- elif rechoice == 2:
- time.sleep(2)
- print 'Shuting down',
- time.sleep(1)
- print '.',
- time.sleep(1)
- print '.',
- time.sleep(1)
- print '.'
- else:
- print ("Invalid number. Try again...")
- print '\n\n'
- def menu():
- print (30 * '-')
- print (" M A I N - M E N U")
- print (30 * '-')
- print ("1. Launch Microsoft Edge")
- print ("2. Task Manager")
- print ("3. Adventure Game")
- print ("4. Logoff")
- print ("5. Shutdown / Reboot")
- print (30 * '-')
- menuop = int(raw_input('\n'))
- if menuop == 1:
- print 'Go to:','%s' % 'www.bing.com'
- elif menuop == 2:
- print system()
- elif menuop == 3:
- print Adventuregame()
- elif menuop == 4:
- print Logoff()
- elif menuop == 5:
- print RebootShutdown()
- else:
- print 'Error'
- menu()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement