Skip to content
Sign upLog in
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
4

My text based game

ChickenAtGoogle
ChickenAtGoogle

#general suggestions for my game
https://repl.it/@ChickenAtGoogle/Game
I am looking for information on how trace back errors work
also please give me suggestions on how i could make this code cleaner

4 years ago
You are viewing a single comment. View All
3
Scoder12
Scoder12

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 aa or ab are used for.
  • This isn't very important but the python standard is 4 spaces for indentation.
    Good luck!

If you found this post helpful please leave an upvote!
If there is any way I can improve, please leave a reply!

4 years ago