stage.set_background("winter")
black_cat = codesters.Sprite("blackcat")
black_cat.go_to(0,-180);
#ask a question about the seasons
choice = black_cat.ask("Do you want it to be spring or summer?")
if choice.lower() == "spring":
stage.set_background("spring")
black_cat.say("Sweet! The snow has finally melted!")
elif choice.lower() == "summer":
stage.set_background("summer")
black_cat.say("Oh, nice choice. Nice and warm in summer at the beach!")
else:
black_cat.say("Opps! Sorry, I didn't understand that.")
#black cat needs a friend
friend = black_cat.ask("I need a friend. Should I make friends with a fox or a cow?")
if friend.lower() == "fox":
cats_friend = codesters.Sprite("fox")
cats_friend.go_to(-130,-180);
black_cat.say("What does the fox say?")
elif friend.lower() == "cow":
cats_friend = codesters.Sprite("cow")
cats_friend.go_to(-130,-180);
black_cat.say("Moo!")
else:
black_cat.say("Opps! Sorry, I didn't understand that.")