Skip to content

Commit

Permalink
AI Stand-Up Heckler
Browse files Browse the repository at this point in the history
  • Loading branch information
Nini010 committed Oct 29, 2023
1 parent f76d95c commit 5f3957b
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
24 changes: 24 additions & 0 deletions AI Stand-Up Heckler/AI_Stand-Up_Heckler.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import random
import time

heckles = [
"You call that a joke?",
"Boo! Get off the stage!",
"I've heard better jokes from my pet parrot!",
"You're funnier when you're silent.",
"Is this a comedy show or a nightmare?",
"You should try another career.",
]

def stand_up_comedy():
print("Welcome to the comedy show!")
time.sleep(2)

for _ in range(5): # Simulating a short stand-up routine
joke = input("Comedian: ") # Comedian's joke
print("AI Heckler:", random.choice(heckles))

print("Thanks for the laughs!")

if __name__ == "__main__":
stand_up_comedy()
37 changes: 37 additions & 0 deletions AI Stand-Up Heckler/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# AI Stand-Up Heckler

AI Stand-Up Heckler is a Python script that simulates a humorous scenario where an AI heckler interrupts a stand-up comedian's routine with funny heckles. The script generates random heckles from a predefined list and allows the user (the comedian) to tell jokes.

## Usage

1. **Installation**:

- The script doesn't require any external libraries. You can run it with a standard Python installation.

2. **Running the Program**:

- Start the program by executing the Python script, and it will guide you through a simulated stand-up comedy routine.

- The AI heckler will randomly choose heckles to interrupt your jokes.

3. **Customization**:

- You can customize the list of heckles by modifying the `heckles` list in the code. Add your own humorous remarks or expand the list as you like.

- You can also adjust the number of jokes the comedian tells during the routine by modifying the loop in the `stand_up_comedy` function.

## Requirements

- Python 3.x (no external libraries required)

## Example

Imagine you want to create a fun and interactive stand-up comedy experience. You run the script, and as you tell your jokes, the AI heckler generates funny heckles, making the performance more amusing.

## License

This project is open-source and available under the [MIT License](LICENSE).

Feel free to expand and customize this script to create a more advanced and interactive stand-up comedy simulation. If you have questions or encounter issues, please create an issue in the [GitHub repository](https://github.com/yourusername/ai-stand-up-heckler).

Enjoy some lighthearted comedy with Python!

1 comment on commit 5f3957b

@Nini010
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I implemented AI Stand-Up Heckler using Python. I also added a read me file explaining the code. Hoping to get the PR merged and getting the Hacktoberfest and hacktoberfest- accepted badge

Please sign in to comment.