diff --git a/examples/flappybird/flappybird.py b/examples/flappybird/flappybird.py index 0fe8a037..4d993f77 100755 --- a/examples/flappybird/flappybird.py +++ b/examples/flappybird/flappybird.py @@ -17,8 +17,7 @@ bird.score = 0 bird.vy = 0 -storage.setdefault('highscore', 0) - +storage = dict(highscore=0) def reset_pipes(): pipe_gap_y = random.randint(200, HEIGHT - 200)