#๐Ÿ”’ Tetris level up

17 messages ยท Page 1 of 1 (latest)

molten ravine
#

i made this tetris game but the level won't increase
i made it so that it would increase every 10 points where you get points through completing lines

jagged voidBOT
#

@molten ravine

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.

molten ravine
#

bruh the bot keep deleting my text

#

it tould me to use .txt and i'm using .txt

#
                del self.board[y]
                self.board.insert(0, [0 for i in range(self.cols)])
                self.score += 1
                if self.score >= (10*self.score-1):
                #if self.score >= (1):
                    self.level += 1
                    print(self.level)

this is the problem part

#
                del self.board[y]
                self.board.insert(0, [0 for i in range(self.cols)])
                self.score += 1
                if self.score >= (10*self.score-1):
                #if self.score >= (1):
                    self.level += 1
                    print(self.level)```
#

this is the eror part

#

HOW DO I SHOW THE CODE BRUH

#

i can't upload .txt

#

finaly

#

jesus christ

#

here are the assets

#

there's actualy one more which is a font using .tff which the bot also rejects

jagged voidBOT
#

@molten ravine

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.