Share your repls and programming experiences

← Back to all posts
You Find Yourself in a Room
qstar03 (5)

This is a little text-based adventure game I'm slowly working on.
I am a female Sophmore in High School and I'm still learning. This is the first thing I have done in Python so it is definatly far from finished. I have a few comments in the code to demonstrate what I want to do. These are right after every dead end. I hope you enjoy, let me know some tips and tricks to clean up my code too, its a little crowded.
https://repl.it/@qstar03/You-Find-Yourself-in-a-Room

Commentshotnewtop
AnouS (16)

This is amazing, Girl! Be proud!

qstar03 (5)

@AnouS Thank you so much!

timmy_i_chen (960)

Nice work so far! It would be cool to introduce some data structures (like lists or dictionaries) to keep track of inventory data. Let me know if you need any help or have any questions!

qstar03 (5)

@timmy_i_chen Awesome thank you so much! I might need youre help in the future

Nurulean (0)

Good job with it so far, but for all the counters and inventory stuff, try using
elif x == 2:
print('you become more infected')
else:
print('You start becoming infected')
I know it's tedious, but it works for my stuff.

qstar03 (5)

@Nurulean Im planning on doing that, but i need a way to track how infected they are. Like, maybe i can add to a varibale.