mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-03-01 03:18:42 +00:00
Edit main.py capitalization
This commit is contained in:
parent
5c972513dc
commit
219cf9fd25
@ -211,13 +211,13 @@ def main():
|
|||||||
bricks = generate_bricks(3, 10)
|
bricks = generate_bricks(3, 10)
|
||||||
lives = 3
|
lives = 3
|
||||||
reset()
|
reset()
|
||||||
display_text("You Lost!")
|
display_text("You lost!")
|
||||||
|
|
||||||
if len(bricks) == 0:
|
if len(bricks) == 0:
|
||||||
bricks = generate_bricks(3, 10)
|
bricks = generate_bricks(3, 10)
|
||||||
lives = 3
|
lives = 3
|
||||||
reset()
|
reset()
|
||||||
display_text("You Won!")
|
display_text("You won!")
|
||||||
|
|
||||||
draw(win, paddle, ball, bricks, lives)
|
draw(win, paddle, ball, bricks, lives)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user