Ask coding questions

← Back to all posts
My text based game
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

Voters
RomanLowery
ChickenAtGoogle
Comments
hotnewtop
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!

JackKok

You got heaps of tips. Could you disclose to me where to peruse genuine surveys from individuals, not bots? It is not difficult to get paid now, in light of the fact that most destinations are truly questionable as far as installments. I'm at present utilizing one website http://www.newcasinos-ie.com where you can track down the most solid online poker rooms, where it is not difficult to play and nobody can swindle you.

HarperframeInc

You could use hashtags to separate the game into pieces

ChickenAtGoogle

Just an FYI this is an uncompleted game i am no where near finished with it.