Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added game #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions src/freegames/lovelife.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
print("Choose Your own love life game (Any way you choose is bound to fail sooner or later...play untill that happens.)")


def start_game():
print("You meet a hot boy/girl.")
print("Do you want to:")
print("A) Act normal")
print("B) Start flirting")

choice = input("> ")

if choice.upper() == "A":
act_normal()
elif choice.upper() == "B":
print("He/She smirks and tells their freind how naive you are. Your love life has failed.")
print("Try again!")
start_game()
else:
print("Invalid choice. Try again.")
start_game()

def act_normal():
print("He/She falls for you.")
print("Do you want to:")
print("A) Make conversation")
print("B) Say a dirty joke")

choice = input("> ")

if choice.upper() == "A":
print("He/She gets bored and leaves. Your love life has failed.")
print("Try again!")
start_game()
elif choice.upper() == "B":
say_joke()
else:
print("Invalid choice. Try again.")
cave_entrance()

def say_joke():
print("He/She founds you funny. They ask you out.")
print("For the next 10 years your love life rocks!")
print("Turns out your lover is a mafia gangster that tricks you out of your life savings and then vanishes!!!! Your love life has failed")
print("The end!")

start_game()