Skip to content

Commit 77554db

Browse files
author
Kevin J Walters
committed
Slowing down the bubble sort in showGameResultScreen() a little bit more.
1 parent a157bbc commit 77554db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CLUE_Rock_Paper_Scissors/advanced/rps_display.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def introductionScreen(self):
375375
right_dob.x = x_pos
376376
time.sleep(0.06)
377377

378-
time.sleep(8) # leave on screen for further 6 seconds
378+
time.sleep(8) # leave on screen for further 8 seconds
379379

380380

381381
def playerListScreen(self):
@@ -516,7 +516,7 @@ def showGameResultScreen(self, pla, sco, rounds_tot=None):
516516
sort_scores = list(sco) # Make an independent local copy
517517
if not descending:
518518
empty_group = Group() # minor hack to aid swaps in scores_group
519-
step = 4
519+
step = 3
520520
qm_dob = Label(self.font,
521521
text="?",
522522
scale=2,
@@ -545,7 +545,7 @@ def showGameResultScreen(self, pla, sco, rounds_tot=None):
545545
for offset in offsets:
546546
scores_group[idx].y = above_y + offset
547547
scores_group[idx + 1].y = below_y - offset
548-
time.sleep(0.040)
548+
time.sleep(0.050)
549549

550550
# swap the scores around
551551
sort_scores[idx] = sort_scores[idx + 1]

0 commit comments

Comments
 (0)