Skip to content

Commit

Permalink
Update spiders.py
Browse files Browse the repository at this point in the history
Removing glob usage
  • Loading branch information
findersjeepers authored Mar 5, 2024
1 parent 7e40aae commit 5122a10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spiders.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def get_pb(filename):

return pb

''' ### Commenting out this section for online experiment ###
# Display all current personal high scores
def get_scores():
filelist = glob.glob("pb_for_*ae.txt")
Expand All @@ -113,6 +114,7 @@ def get_scores():
total_pb = total_pb + family_pb
print(family_name, "-", family_pb)
print(total_pb, "genera total")
'''

# Calculate time remaining
def countdown(reference_time):
Expand Down Expand Up @@ -201,7 +203,8 @@ def quit_or_replay():
print_header(WIDTH,TITLE)
print(SUMMARY)

get_scores()
# Commenting this out for online experiment
# get_scores()

# Initiate gameplay loop
play_game()
Expand Down

0 comments on commit 5122a10

Please sign in to comment.