import easygui
import time
import datetime
import random
import pygame
enterInput=easygui.enterbox("Welcome To XSOS,Enter Your Password")
if enterInput == 'xsosta':
t = datetime.datetime.now()
easygui.msgbox("Welcome back Guest! "+t.strftime('%m/%d/%Y'))
continue1='y'
else:
easygui.msgbox("Incorrect Password Please try Again")
someInput=easygui.enterbox("Welcome To XSOS,Incorrect Password")
if someInput == 'xsosta':
continue1='y'
while continue1=='y':
t = datetime.datetime.now()
options=easygui.choicebox(" Tech Arena XSOS Beta Build 3.55 ||| wwww.xsosta.webs.com "+t.strftime('%I:%M'),choices=['Start','Desktop','Browser','Exit','File','Settings'])
if options=='Start':
options1=easygui.choicebox("Start Menu XSOS",choices=['Games','Word','Back to Welcome Menu'])
if options1=='Games':
games=easygui.choicebox("Games",choices=['Blast Off!','The number guessing game','Skier'])
if games=='Blast Off!':
for i in range (10,0,-1):
easygui.msgbox(i)
time.sleep(1)
easygui.msgbox("Blast Off!")
if games =='The number guessing game':
secret=random.randint(1,99)
guess=0
tries=0
easygui.msgbox("Hi,guess a number from 1 to 99.I will give u 10 tries.")
while guess !=secret and tries<10:
guess=easygui.integerbox("What is ur guess")
if not guess:break
if guess<secret:
easygui.msgbox("Too Low")
elif guess>secret:
easygui.msgbox("Too High")
tries=tries+1
if guess==secret:
easygui.msgbox("You got it!")
else:
easygui.msgbox("Sorry,Better Luck Next Time")
if games =="Skier":
easygui.msgbox("Coming Soon")
if options1=='Word':
easygui.enterbox("Word")
elif options == 'Desktop':
desktop=easygui.choicebox(choices=['Help','Back to Welcome Menu','Settings(Dev Only|ReaL)'])
if desktop=='Help':
button=easygui.choicebox("Welcome to the XSOS Help Page",choices=['Tips','More'])
if button=='Tips':
tips=easygui.choicebox("Tips",choices=['How to change password','How to add Games','How to Create a word document'])
if tips=='How to change password':
easygui.msgbox("To change ur password go the the coding of the OS and in the fourth line of code change the password")
if tips=='How to add Games':
easygui.msgbox("to add a game go to the coding of the OS and look in line #11 and add the games coding")
if tips=='How to Create a word document':
easygui.msgbox("To Create a word Document go to to coding of the code of the OS and go down to where it says Documents and copy the code and change the text")
if button=='More':
easygui.msgbox("For more help visit xsosta.webs.com")
if desktop=='Settings(Dev Only|ReaL)':
someInput=easygui.enterbox('Please enter Dev passkey')
if someInput=='xsostamydev1221':
devoptions=easygui.choicebox('Settings',choices=['Logout','ReaL Member Options'])
if devoptions=='ReaL Member Options':
devaccount=easygui.choicebox('Dev Account is VAlID ',choices=['Report Errors', 'Customization'])
if devaccount=='Report Errors':
bugInput=easygui.enterbox ('Enter your Bug and press OK')
if devaccount=='Customization':
easygui.msgbox ('To customize (Password,USername,Etc.) go to IDLE and find customization')
else:
easygui.msgbox('Incorrect Password, if you need to recieve a Dev XSOS ReaL accout please visit our website')
elif options=='File':
file=easygui.choicebox("Welcome to File,This is where all your files will be stored",choices=['Documents','Pictures','More'])
if file=='Documents':
docs=easygui.choicebox("Documents",choices=['Welcome To XSOS Word Doc'])
if docs=='Welcome To XSOS Word Doc':
easygui.msgbox("Thank You for choosing XSOS.To see Tips and Tricks go to Desktop>Help>and click Tips or More.")
if file=='Pictures':
easygui.msgbox('no current pictures')
if file=='More':
easygui.msgbox('Coming Soon')
elif options == 'Browser':
easygui.msgbox("This Feature is currently unavalibe")
elif options == 'Settings':
someInput=easygui.enterbox("Service Code Unavalible, Please login to continue (ReaL Developer Passkey)")
if someInput == 'xsostamydev1221':
settings=easygui.choicebox("Settings, Please Do NOT change any options that are unknown",choices=['Backround Changer'])
if settings=='Backround Changer':
easygui.enterbox("Please Locate File Address and Type it in")
elif options == 'Exit':
easygui.msgbox("Exiting, Thank You for using XSOS")
continue1='n'