Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Group Project
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ahmed Yusuf
Group Project
Commits
0211f8aa
Commit
0211f8aa
authored
2 years ago
by
Adriel Nuqui
Browse files
Options
Downloads
Patches
Plain Diff
Leaderboard fix
parent
2854134e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Group_game/leaderboard.py
+3
-2
3 additions, 2 deletions
Group_game/leaderboard.py
with
3 additions
and
2 deletions
Group_game/leaderboard.py
+
3
−
2
View file @
0211f8aa
...
@@ -69,10 +69,11 @@ def append_leaderboard(seconds_used,filename): #time_used = 20 minutes - time r
...
@@ -69,10 +69,11 @@ def append_leaderboard(seconds_used,filename): #time_used = 20 minutes - time r
userinput
=
userinput
.
lower
()
userinput
=
userinput
.
lower
()
if
userinput
==
'
yes
'
:
if
userinput
==
'
yes
'
:
view_leaderboard
(
filename
)
view_leaderboard
(
filename
)
print
(
'
Returning back to the game...
'
)
elif
userinput
==
'
no
'
:
elif
userinput
==
'
no
'
:
print
(
"
Continuing back into the game...
"
)
print
(
"
Continuing back into the game...
"
)
print
(
'
Returning back to the game...
'
)
#Returns back to game.py
#Returns back to game.py
append_leaderboard
(
932
,
'
Times.csv
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment