This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
My text based game
You are viewing a single comment. View All
4 years ago
A couple suggestions:
- You could make a function to print and then sleep so that you could do both with just one line and it would be easier to change the delay if you wanted to (btw 0.5 seconds is too short for most people)
- Though short variable names are easy to type, they are not descriptive and are hard to understand what they are for. I have no idea what
abare used for.
- This isn't very important but the python standard is 4 spaces for indentation.
If you found this post helpful please leave an upvote!
If there is any way I can improve, please leave a reply!