Skip to content

Commit

Permalink
refactor: clarify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed May 17, 2024
1 parent ed72231 commit 58f1b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snake.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def display_score(self) -> None:
)

def run(self) -> str:
"""Main loop for game"""
"""Main loop for game. Returns why game ended."""
while True:
if not self._running:
return "Quit"
Expand Down

0 comments on commit 58f1b96

Please sign in to comment.