Skip to content

Commit

Permalink
update rit game flappy-bird block display
Browse files Browse the repository at this point in the history
Signed-off-by: GuillaumeFalourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Mar 10, 2021
1 parent cad8e86 commit 19f6e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/flappy-bird/src/formula/formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def show_score(current_score):

def blocks(x_block, y_block, block_width, block_height, gap):
pygame.draw.rect(game_window, green, [x_block, y_block, block_width, block_height])
pygame.draw.rect(game_window, green, [x_block, y_block + block_height + gap, block_width, block_height])
pygame.draw.rect(game_window, green, [x_block, y_block + block_height + gap, block_width, frame_size_y])

def make_text_objs(text, font):
text_surface = font.render(text, True, white)
Expand Down

0 comments on commit 19f6e3a

Please sign in to comment.