ScratchData LogoScratchData
Back to JoCoder23's profile

SPECIAL GAME CONTEST | bring my python game to scratch

JOJoCoder23•Created October 7, 2024
SPECIAL GAME CONTEST | bring my python game to scratch
0
0
1 views
View on Scratch

Instructions

Chatgpt coded it and i liked it so it's no arrogance. OC in project. Remix it. That's it ig. Price: ai art.

Description

Code for the game: # Simple Text Adventure Game # Introduction to the game def introduction(): print(""" Welcome to the Text Adventure Game featuring JoCoder23! In this game, you will help JoCoder23 navigate through the world of Scratch and make important decisions along the way. """) print("Let's begin the adventure...\n") # First scenario - Meeting JoCoder23 def meet_jocoder(): print(""" You are in the Scratch community hub, where you see a crowd of users around. In the center, you spot JoCoder23 showcasing a new project. JoCoder23 is known for being a talented Scratcher and loves to help others. """) print("JoCoder23 notices you approaching...\n") print("1. Compliment JoCoder23 on their work") print("2. Ask JoCoder23 for advice on your own project") print("3. Watch from a distance without saying anything") choice = input("\nWhat do you choose to do? (1, 2, or 3): ") if choice == '1': compliment() elif choice == '2': ask_for_advice() elif choice == '3': watch_from_distance() else: print("\nInvalid choice. Please choose 1, 2, or 3.") meet_jocoder() # Scenario 1 - Compliment JoCoder23 def compliment(): print(""" You walk up to JoCoder23 and say, "I love your latest project! The animations are amazing!" JoCoder23 smiles and says, "Thank you so much! It's been a lot of hard work, but I really enjoy it." """) print("JoCoder23 gives you some helpful tips on improving your own projects.") next_step() # Scenario 2 - Ask for Advice def ask_for_advice(): print(""" You approach JoCoder23 and ask, "I'm working on my own project, but I'm stuck. Do you have any advice?" JoCoder23 nods and responds, "Of course! I'd be happy to help. What part are you struggling with?" """) print("JoCoder23 listens carefully and gives you specific advice that helps you move forward in your project.") next_step() # Scenario 3 - Watching from a Distance def watch_from_distance(): print(""" You decide to watch from a distance as JoCoder23 interacts with other Scratchers. You feel inspired by their creativity and enthusiasm. """) print("Although you didn’t approach JoCoder23, you learn a lot by observing their work and interactions.") next_step() # Next step of the adventure def next_step(): print("\nWhat do you want to do next?") print("1. Work on your own project") print("2. Explore more Scratch projects") print("3. Chat with other Scratchers") choice = input("\nChoose your next action (1, 2, or 3): ") if choice == '1': work_on_project() elif choice == '2': explore_projects() elif choice == '3': chat_with_scratchers() else: print("\nInvalid choice. Please choose 1, 2, or 3.") next_step() # Scenario - Work on your own project def work_on_project(): print(""" You decide to focus on your own project. With the advice JoCoder23 gave you, you make great progress. Your project is coming together nicely, and you feel a sense of accomplishment. """) end_game() # Scenario - Explore Scratch projects def explore_projects(): print(""" You explore more Scratch projects in the community. There are so many creative ideas out there! As you browse, you find inspiration for your own work and discover new techniques. """) end_game() # Scenario - Chat with other Scratchers def chat_with_scratchers(): print(""" You start chatting with other Scratchers. The community is full of friendly and helpful people. You exchange ideas, tips, and tricks, and you feel even more connected to the Scratch community. """) end_game() # End of the game def end_game(): print(""" Your adventure with JoCoder23 has come to an end for now. Whether you worked on your own project or explored the Scratch community, you learned a lot and had fun. Thanks for playing! """) # Main function to run the game def play_game(): introduction() meet_jocoder() # Start the game if __name__ == "__main__": play_game()

Project Details

Project ID1077744363
CreatedOctober 7, 2024
Last ModifiedOctober 31, 2024
SharedOctober 7, 2024
Visibilityvisible
CommentsAllowed