MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / show_highscore

Function show_highscore

projects/car game/Game.py:203–206  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

201 highscore = f.read()
202
203 def show_highscore(x, y):
204 Hiscore_text = font1.render("HISCORE :" + str(highscore), True, (255, 0, 0))
205 screen.blit(Hiscore_text, (x, y))
206 pygame.display.update()
207
208 ###### creating our game over function #######
209

Callers 2

gameoverFunction · 0.85
gameloopFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected