print('Welcome to Bookshelf!')
playing = input("Shall we play a game? ")
if playing == "We shall":
print("Indeed we shall! Here's your first clue.")
if playing == "We shan't":
print("Only I say what we shall and shan't do!")
if playing == "I guess":
print("You guess? What do you mean you guess? SIGH. Here's your first clue, guesser.")
if playing == "Definitely.":
print("That's the spirit! Dive on in to your first clue!")
else:
print("------------------------------------------------------------------------------------------------")
book1 = {'': '0', 'Name': 'book1', 'Answer': 'Pride and Prejudice', 'Clue 1': 'Clue 1: This book was published in 1813 in England. ', 'Clue 2': 'Clue 2: This book was originally titled First Impressions. ', 'Clue 3': 'Clue 3: You may have read this book in high school English class. ', 'Clue 4': 'Clue 4: Minor Characters: Mary King, William Collins, Maria Lucas. ', 'Clue 5': "Clue 5: This book's author is Jane Austen. ", 'Clue 6': 'Clue 6: Main Characters: Lizzie Bennet, Fitzwilliam Darcy '}
book2 = {'': '1', 'Name': 'book2', 'Answer': 'Piranesi', 'Clue 1': 'Clue 1: This book was published in 2020 in the United States. ', 'Clue 2': 'Clue 2: This novel was a finalist for the Hugo Award. ', 'Clue 3': "Clue 3: This book was inspired in part by C.S. Lewis' novel, The Magician's Nephew. ", 'Clue 4': "Clue 4: This book's author has written only one other full-length novel, which was a worldwide sensation. ", 'Clue 5': "Clue 5: This book's author is Susanna Clarke. ", 'Clue 6': 'Clue 6: The opening line is: "When the moon rose in the Third Northern Hall I went to the Ninth Vestibule." '}
answer = input(book1.get("Clue 1"))
if answer == (book1.get("Answer")):
print("Astounding! You got it in just 1 try!")
print("Here are the other clues:")
print(book1.get("Clue 2"))
print(book1.get("Clue 3"))
print(book1.get("Clue 4"))
print(book1.get("Clue 5"))
print(book1.get("Clue 6"))
quit()
else:
print("Nope, but you can try again!")
print("---------------------------------------------------------")
book1 = {'': '0', 'Name': 'book1', 'Answer': 'Pride and Prejudice', 'Clue 1': 'Clue 1: This book was published in 1813 in England. ', 'Clue 2': 'Clue 2: This book was originally titled First Impressions. ', 'Clue 3': 'Clue 3: You may have read this book in high school English class. ', 'Clue 4': 'Clue 4: Minor Characters: Mary King, William Collins, Maria Lucas. ', 'Clue 5': "Clue 5: This book's author is Jane Austen. ", 'Clue 6': 'Clue 6: Main Characters: Lizzie Bennet, Fitzwilliam Darcy '}
book2 = {'': '1', 'Name': 'book2', 'Answer': 'Piranesi', 'Clue 1': 'Clue 1: This book was published in 2020 in the United States. ', 'Clue 2': 'Clue 2: This novel was a finalist for the Hugo Award. ', 'Clue 3': "Clue 3: This book was inspired in part by C.S. Lewis' novel, The Magician's Nephew. ", 'Clue 4': "Clue 4: This book's author has written only one other full-length novel, which was a worldwide sensation. ", 'Clue 5': "Clue 5: This book's author is Susanna Clarke. ", 'Clue 6': 'Clue 6: The opening line is: "When the moon rose in the Third Northern Hall I went to the Ninth Vestibule." '}
answer = input(book1.get("Clue 2"))
if answer == (book1.get("Answer")):
print("Fantastic! You got it in just 2 tries!")
print("Here are the other clues:")
print(book1.get("Clue 3"))
print(book1.get("Clue 4"))
print(book1.get("Clue 5"))
print(book1.get("Clue 6"))
quit()
else:
print("That's not it. Let's try another clue!")
print("------------------------------------------------------------------------------------------------")