#๐Ÿ”’ New to coding, require help regarding my minesweeper game on pygame. (Need to convert images)

27 messages ยท Page 1 of 1 (latest)

crude dockBOT
#

@tidal zinc

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

warm sapphire
#

@tidal zinc Do you have your message?

tidal zinc
#

No it got deleted, do you know how I can get it back?

warm sapphire
#

Rewrite it?

#

Did you have anything inappropriate in your message that would cause it to be deleted by a bot?

tidal zinc
#

No, atleast I don't think so

#

Let me rewrite it out

dreamy oak
#

the bot deletes messages which have attached files

tidal zinc
#

ohh thanks for letting me know

dreamy oak
#

it usually responds and tells you that it deleted your message

#

it's a bug that it doesn't work in these posts

#

come to think of it, i'll just open a PR to fix that

warm sapphire
#

It's been like this for ages.

tidal zinc
#

I am copy pasting my code, but its converting my code into a .txt file

crude dockBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

tidal zinc
#

Allow me to explain my issue

warm sapphire
#

Looks like Stel already has one

#

Stelersus to the rescue ๐Ÿ‘€

tidal zinc
# tidal zinc Allow me to explain my issue

Currently I am making a minesweeper game, I am facing problems regarding the first click mechanism(the mechanism in which your first move is always safe in minesweeper games), so the first click mechanism works as intended except the fact that the tile I initially click on doesn't change its image to "broken tile.png"(broken tile.png is just the art that shows that a tile has been clicked on). And sometimes other safe or blank tiles also refuse to convert its image. I attached an image of how my problem looks like, and how I expect it to look.

#

as you can see my in my code where the user initially clicks doesn't convert into a 'broken tile'(the tile that is dark green, it's to show that the tile has been clicked on)

#

@warm sapphire

#

@dreamy oak

crude dockBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.