internovel_beta.py

Created by naul

Created on February 28, 2023

2.33 KB

La plupart des questions peuvent être répondues avec oui ou non. !Version 1.0.0, Beta 1!


from time import *
save=[]
def s():sleep(1)
endings=1
print("restaurer une sauvegarde ?")
if input()=="oui":print("Pour commencer, ecrit ton nom:");mc_name=input();story_events=int(input("code"))
else:print("Salut !");s();print("Bienvenue sur une sorte de");print("livre interactif virtuel.");s();print("Il existe actuellement "+str(endings)+" fins.");s();print("Pour commencer, ecrit ton nom:");mc_name=input();story_events=0
while mc_name=="ton nom":print("Ha ha. Tres drole.");mc_name=input()
if story_events==0:s();print("Tres bien, "+str(mc_name)+".");s();print("La plupart des choix peuvent");print(" etre repondut avec");print("Oui ou non");s();print("Amuse-toi bien !")
if story_events==0:
  for i in range(12):print(".");sleep(1/(i+1));story_events=0
if story_events==0:s();print("Tu te reveille, dans ton lit.");s();print("Quel jour on est, au juste ?");s();print("Se lever ?")
if input()=="non":s();print("L avenir appartient a ceux");print("qui se levent tot.");s();print("fin 1/"+str(endings))
else :
  if story_events==0:story_events=1
if story_events==1:
  s();print("On ne peut pas passer sa vie");print("au lit...");s();print("Tu entend quelqun qui");print("t appelle.");s();print("Sortir ?")
  if input()=="oui":story_events=2
  else:story_events=3
if story_events==2:
  s();print("Lola: Enfin leve, "+str(mc_name)+" ?");s();print("Souviens toi, c est la rentree");print("aujourdhui !");s();print("Allez, depeche toi.");s();print("tu pars de chez toi en vitesse.")
  for i in range(3):print(".");s()
  print("Tu arrive au lycee.");s();print("Que visiter en premier ?");print("Arriere/Porte_principale/cour");s();temp=input()
  if temp=="arriere":story_events=4
  if temp=="porte_principale":story_events=6
  if temp=="cour":story_events=5
if story_events==3:
  s();print("la personne qui appelle attendra");s()
  for i in range(3):print(".");s()
  print("Tu sors de ta chambre.");s();print("Il y a une note sur la table...");s();print("Je voulais te parler avant que");print("tu parte au lycee. Tu devais");print("dormir.");print("Bonne chance pour la rentree !");s();print("  -Lola");s();print("La rentree !");s();print("J avais completement oublie !");s();print("Tu pars precipitemment.");s()
  for i in range(3):print(".");s()
  print("Tu arrive au lycee.");print("Pas le temps pour la visite,");s();print("il faut aller au hall.");story_events=7

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.