Forgot to push the new scoreboard code.
This commit is contained in:
parent
5ea8b9ae43
commit
8efc8e6ed2
@ -119,6 +119,7 @@ def game(mode):
|
||||
message = ["You spanked the monkey " + str(spanks) + " "]
|
||||
if spanks == 1: message[0] += "time."
|
||||
if spanks != 1: message[0] += "times."
|
||||
if score.New_High_Score() != None: message.append("Congratulations! you beat the score at position " + str(score.New_High_Score()) + ".")
|
||||
message.append("Your total time was " + str(round(totalTime - startTime, 2)) + " seconds.")
|
||||
try:
|
||||
message.append("You averaged " + str(round(spanks / (totalTime - startTime), 2)) + " monkey spanks per second.")
|
||||
|
Loading…
Reference in New Issue
Block a user