[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] A bunch of newbie questions



> if game_mode == "player_alive":
>     handle_input()
>     move_player()
>     if player.is_killed():
>         if number_of_lives == 0:
I'd change it to, possibly, if player.number_of_lives, but that depends
on the actual game design