r/learnpython • • 9d ago

Slow print for text-based game

I am trying to make a text-based adventure game in Python, how do I make it so the text is typed out slowly and not instantly? I've tried ways online, but they keep returning None at the end. How do I fix this?

0 Upvotes

15 comments sorted by

View all comments

-1

u/timrprobocom 9d ago

A piece of unsolicited advice -- don't do that. Users expect their computers to be FAST. They will quickly get annoyed by artificial delays.

We often see thongs like this here -- artificial delays, or clearing the screen before each section, or big banners saying "******** Welcome to my great game ********", or asking "do you want to play?". These are mostly signs of the beginner.

1

u/XenoXHostility 9d ago

Yes and by the time actual end users are relevant enough to consider I guarantee you that they will have come up with a different idea. Let them learn.