0
def draw_block(x, y, color):
pygame.draw.rect(
    screen,
    color,
    Rect(x, y, block_size, block_size)
)
pygame.draw.rect(
    screen,
    ui_variables.grey_1,
    Rect(x, y, block_size, block_size),
    1
)

this is my code to draw blcok in Board. But what I want to is making tetris block that have character image image block How can I make it??

JP KO
  • 17
  • 5

0 Answers0