My Channel

FORE - GAME | A SIMPLE MIND BOGLING GAME MADE ON PYCHARM | SIMPLE & EASY TO MAKE | VERY TRICKY AND COOL | PYTHON

FORE - GAME

HEY GUYS,

Today we will see on how to write a very long professional code using a Game done on Python. I am serious and this code is 300 lines.

You can say to a friend that you are a professional coder and has coded a 300 line program.

So, here is the code to copy and use it.





Try this:

def Game():
import time,pyautogui,pyttsx3,webbrowser
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("ForeGame : The Theft")
time.sleep(2)
print("Welcome to the game! ")
time.sleep(1)
Play_or_Exit = input("Do you want to Play or Exit?(Enter Play to play the game and Exit to exit the game) : ")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
if Play_or_Exit.lower() == "play":
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Welcome to the Game!")
time.sleep(1)
Name = input("Enter your Nickname or Real Name: ")
time.sleep(1)
print("Again, Welcome to the Game ,",Name)
time.sleep(2)
print("Preparing Game...")
time.sleep(3)
print("Preparing Story...")
time.sleep(3)
print("""This is a Story based Theft Game Where you have to enter an Option to get an Certain outcome. You
will not be revealed the story but you have to guess the story's main objective by playing the game. The city in which you Live is the THE UNITED NATIONS.""")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(3)
print("Now let the Game begin...")
pyautogui.countdown(10)
A = pyttsx3.init()
A.say("""
BREAKING NEWS! GOLD BARS WORTH 50 BILLION $ ARE STOLEN FROM THE BANK OF THE UNITED NATIONS.""")
A.say("THE POLICE ARE YET TO FIND THE CRIMINALS.")
print("""News in TV:
BREAKING NEWS! GOLD BARS WORTH 50 BILLION $ ARE STOLEN FROM THE BANK OF THE UNITED NATIONS""")
print("THE POLICE ARE YET TO FIND THE CRIMINALS.""")
A.runAndWait()
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print(Name, ": I hope the Money was in my hands. It would be a Luxurious Life that i would be living in.")
time.sleep(1)
Theft = input("Would you steal the 50 Billion $ or Be a good guy? (Enter Steal or Good 'ONLY'): ")
time.sleep(1)
if Theft.upper() == "GOOD":
time.sleep(1)
print("You are a Good Guy and You are out of the Game.")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
elif Theft.upper() == "STEAL":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Ok, You continue to be in the Game to Steal the 50 Billion $")
time.sleep(1)
print(Name,":Now, I will Get to My car and go to the Airport.")
time.sleep(1)
print("Vroom, Vroom, Vrooooom.")
time.sleep(1)
print("After 10 Minutes = 10 Sec in Real.")
time.sleep(10)
print(Name,":Ha ha There we are at the airport. Let me see which airplane did the Criminals Hid the Gold Bars.")
time.sleep(1)
print("Game:There are two ways to get in : One is By Going to the Runway, the other by Going through the airport.")
time.sleep(1)
Choose = input("What would you Choose (Runway/Airport): ")
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
if Choose.lower() == "runway":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Oh, you have escaped from the Police and got staright to the Runway.")
time.sleep(1)
print("There is an Airplane which is used by the Criminals. There are only three planes and they all are identical. Which would you choose.")
time.sleep(1)
choose = input("Which plane would you choose (1st,2nd,3rd)(Enter 1 or 2 or 3): ")
time.sleep(1)
if choose == "1":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Got into the Wrong Plane and was shot dead by the Police.")
time.sleep(1)
print("play again? ")
time.sleep(1)
Game()
elif choose == "2":
time.sleep(1)
print("On the Right plane. You have got hands on the Criminals.")
time.sleep(1)
time.sleep(1)
print("Game: You have Succesfully Found the criminals. Would you kill them or request them the money.")
time.sleep(1)
Kill_or_Request = input("Would you Kill or Request for the money(Enter request or Kill) : ")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
if Kill_or_Request.upper() == "KILL":
time.sleep(1)
print("Ok, You chose to kill them.")
time.sleep(1)
print("Now, you have Three weapons to choose from: A Gun, A knife, A grenade. What would you Choose? ")
time.sleep(1)
Weapons = input("Enter the weapon you would choose: ")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
if Weapons.upper() == "GUN":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Doom Doom Dom Bam Bash!")
time.sleep(1)
print("You Shot Everyone! Hooray")
time.sleep(1)
print("Taking the money...")
time.sleep(4)
print("Approaching the car in ")
pyautogui.countdown(5)
print("Loading the Money.")
time.sleep(1)
print("Vroom Vroom Vroooom.")
time.sleep(1)
print("You Reached Home and now have 1 more last Decision to take.")
time.sleep(1)
Decision = input("Enter where you would give the money. (( Charity, Bank of THE UNITED NATIONS, Have it for yourself, Burn It.) Enter Bank, Charity, Yourslf, or Burn it) : ")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
if Decision.upper() == "CHARITY":
time.sleep(1)
print("You have done a good job, but the police have found you and arrested you.")
time.sleep(1)
print("You died...😵😵😵")
time.sleep(1)
print("Play Again?")
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif Decision.lower() == "bank":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("You have done a Good job in returning the money to the bank.")
time.sleep(1)
Voice = pyttsx3.init()
Voice.say("BANK OFFICER:Thanks for Getting the Money back to the Bank. As a help and Reward We give all the Money to You. ")
Voice.runAndWait()
time.sleep(1)
print(Name,":Oh thank you sir.")
time.sleep(1)
print(Name,":That's how you need to steal the Money without exposing your real Mind.")
time.sleep(1)
print("Game: ",Name," Goes to Home with his Money and Becomes Rich.")
time.sleep(1)
print("After 5 years...")
time.sleep(10)
print(Name,":I AM THE RICHEST GUY IN THE WHOLE OF THE WORLD.")
time.sleep(1)
print("""THE END!""")
time.sleep(1)
pyautogui.alert("THE END!")
time.sleep(5)
pyautogui.alert("THE END!")
time.sleep(5)
pyautogui.alert("THE END!")
time.sleep(5)
pyautogui.alert("THE END")
time.sleep(5)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(2)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(2)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(2)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(2)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(2)
elif Weapons.upper() == "KNIFE":
time.sleep(1)
print("You could not kill everyone with a single knife.")
time.sleep(1)
print("You died!")
time.sleep(1)
print("Play Again?")
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif Weapons.upper() == "GRENADE":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("You Burnt the Money and you lost everything.")
time.sleep(1)
print("you are Eliminated.")
time.sleep(1)
print("Play Again?")
time.sleep(1)
Game()
elif Weapons.isdigit() == True:
time.sleep(1)
print("Integers are not allowed.")
time.sleep(1)
print("Play Again?")
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
else:
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("This is not accepted.")
time.sleep(1)
print("Play Again?")
time.sleep(1)
Game()
elif Kill_or_Request.upper() == "Request":
time.sleep(1)
print("You died because they killed you.")
time.sleep(1)
print("Play again?")
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif Kill_or_Request.lower() == "exit":
time.sleep(1)
print("Why do you want to Exit the Game?")
time.sleep(1)
print(input("Give us your Feedback: "))
time.sleep(1)
print("Ok, Thanks For your Feedback.")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
elif Kill_or_Request.isdigit() == True:
time.sleep(1)
print("Integers are not allowed.")
time.sleep(1)
print("So, Play Again?")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
else:
time.sleep(1)
print("Not Acceptable.")
time.sleep(1)
print("Play Again?")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif choose == "3":
time.sleep(1)
print("Got into the Wrong Plane and was shot dead by the Police.")
time.sleep(1)
print("play again? ")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif choose.lower() == "exit":
time.sleep(1)
print("Why do you want to Exit the Game?")
time.sleep(1)
print(input("Give us your Feedback: "))
time.sleep(1)
print("Ok, Thanks For your Feedback.")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
else:
time.sleep(1)
print("Not Acceptable.")
time.sleep(1)
print("Play Again?")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif Choose.lower() == "airport":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("The Police got you sneaking away...")
time.sleep(1)
print("Your are Dead...😵😵😵")
time.sleep(1)
print("Play Again...")
time.sleep(1)
Game()
elif Choose.isdigit() == True:
time.sleep(1)
print("Integers are Not allowed.")
time.sleep(0.5)
print("YOU DIED BECAUSE YOU ENTERED THIS.")
time.sleep(1)
print("Play Again?...")
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
Game()
elif Choose.lower() == "exit":
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Why do you want to Exit the Game?")
time.sleep(1)
print(input("Give us your Feedback: "))
time.sleep(1)
print("Ok, Thanks For your Feedback.")
else:
time.sleep(1)
print("This is not an Appropriate Answer.")
time.sleep(0.5)
print("YOU DIED BECAUSE YOU ENTERED THIS.")
time.sleep(1)
print("Play Again?")
time.sleep(1)
Game()
elif Theft.isdigit() == True:
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Integers are Not allowed.")
time.sleep(0.5)
print("YOU DIED BECAUSE YOU ENTERED THIS.")
elif Theft.upper() == "EXIT":
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Why do you want to Exit the Game?")
time.sleep(1)
print(input("Give us your Feedback: "))
time.sleep(1)
print("Ok, Thanks For your Feedback.")
else:
time.sleep(1)
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("This is not an Appropriate Answer.")
time.sleep(0.5)
print("YOU DIED BECAUSE YOU ENTERED THIS.")
elif Play_or_Exit.lower() == "exit":
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Bye. Hope you will Play the Game Sometime later. ☹️☹️☹️")
elif Play_or_Exit.isdigit() == True:
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("Integers are Not allowed.")
time.sleep(1.5)
print("Play Again? ")
time.sleep(3)
Game()
else:
webbrowser.open("https://blogsbymichel.blogspot.com")
time.sleep(1)
print("This is not an Appropriate Function.")
time.sleep(1.5)
print("Play Again? ")
time.sleep(3)
Game()

Game()



This Game took me about 3 days to make with some gaps in between.
Run this code on DataLore (An website compiler by JetBrains) or on PyCharm
(An IDE by JetBrains) or in VSCODE.
Hope you Like the Game and do Enjoy playing it with your family members and friends.
Meet you on the Next Post, Until then Bye!
Share this with every single one you know to get me at least 50 views per day
By the BLOG AUTHOR.






Post a Comment

13 Comments

  1. Please do share and comment Fellow Visitors

    ReplyDelete
  2. Please help me reach 2K as soon as possible and support me. Please 🙏🏽🙏🏽🙏🏽.

    ReplyDelete
  3. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. crackspick.org I hope to have many more entries or so from you.
    Very interesting blog.
    crackspick.org
    All Working Software Links Is Available
    PyCharm Crack

    ReplyDelete
  4. If you do love my blog and want more posts to be posted, be sure to View, Read, Share, Follow, Subscribe, Comment, Review.

    Please do the above to help me claim 5K quick.

    Thanks,
    Michel - The Blog Author.

    ReplyDelete
  5. Replies
    1. Thanks for your Support and your Word. I am looking forward for you to share this Blog with many People.

      Thanks Anyways 😎😎😎

      Delete
  6. I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues. I do not know how to Crack Softwares Free Download Latest 2022 But thankfully, I recently visited a website named Crackroom
    PyCharm Crack

    ReplyDelete
  7. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    Crackroom.org
    Typing Master Pro Crack
    Native Instruments Noire Crack
    IDM Crack
    FL Studio Crack
    PyCharm Crack

    ReplyDelete
  8. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. crackroom.org I hope to have many more entries or so from you.
    Very interesting blog.
    Native Instruments Noire Crack

    ReplyDelete