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

Function instructionIMG

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

Source from the content-addressed store, hash-verified

33
34
35def instructionIMG(x, y):
36 instruct = pygame.image.load("instruction.png")
37 run = True
38 while run:
39 screen.blit(instruct, (x, y))
40 pygame.display.update()
41 for event in pygame.event.get():
42 if event.type == pygame.QUIT:
43 run = False
44
45
46def aboutIMG(x, y):

Callers 1

introscreenFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected