Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phase2 pull request #1

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
0613끝
Sung-Woong committed Jun 13, 2024
commit 36a98f47bb1e4dd012bf40fbbe40da9cb52b1b2a
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ def restart_button():
def game_over(snake_body):
global lives
global hp
hp = 30
hp = 30 # phase2 추가################################################
lives -= 1

#목숨이 전부 소진된다면 게임을 끝냅니다