I upvoted and still got pooped on.
@InvisibleOne Found a glitch
Also
@ThisUserTaken .lower()
is generally used more for convenience, but okay.
ma
y be
Mee6 is kinda overrated imo.
Nice project though
@PlaySoccer
Hah! What?
@JustinPhillip wait
@TaylorLiang
Thanks, I'll keep that in mind.
Wait.
So, how to use lower()
:
It's pretty simple.
This code
#This is a normal input
i = input("Type 'Hello' and press enter")
print(i)
will have an output of:
Hello
This code
#A .lower() input
i = input("Type 'Hello' and press enter").lower()
print(i)
will have an output of:
hello
To use .lower()
simply type it behind the input that you want to be lowercased.
@syflexer No problem
@syflexer Shall I demonstrate here, or can i get an invite?
You should always use .lower()
at the end of every input to make everything inputted into it lowercase. This removes any confusion over capitalizing the first letter in the words and everything.
Just remember to change the if/else statements to react only to lowercase strings.
It would be great if the price changed automatically instead of making me do the math...cool game, though
Hmm. Sounds interesting. What story game would you be interested in?
Nice work! I read your bio and gave you a subscribe :)
Admit it. You still play this game, even though it's off of trending.
I looked through the other comments - a harder difficulty with 5 digits would be a great addition, because once you get a technique, you can win in <10 tries.
@DynamicSquid There's that one guy who pointed out a bunch of bugs - but he typed it in Korean, so I don't think anyone understood.
@DynamicSquid So you can flag every tile and win?
I uncovered all of the blank spots and lost.
Do you have to flag every mine in order to win?
A nolife 5-year-old who doesn't listen to music, has an iPhone 11, and beat Minecraft is worth $5,050. Scandalous.
@math_genius It would be a little difficult, but it doesn't make a difference: Since Androids are superior, all iPhones are worth the same amount of points.
@Ahmadcreate0502 It was fixed, sorry
I don't have the skills for this, but I'd like to see if someone could actually make a game engine.
Instead of this:
# The word here is "word"
print("_ _ _ _")
You could use this:
letters = ["_","_","_","_"]
print(letters[0], letters[1], letters[2], letters[3])
The output would be
____
And if a letter would be guessed, simply redefine the letter.
# Someone guessed the letter "o"
letters[1] = "o"
print(letters[0], letters[1], letters[2], letters[3])
Output would now be
_o__
This is just a rough mock-up, so you'll have to change it a bit to fit it into your program. I can help you with it if you'd like.
Using variables and lists
Coins aren't spawning for me.