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

Method menu

projects/PONG/main.py:219–226  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217 self.hard_game()
218
219 def menu(self):
220 WIN.fill(bg_color)
221 WIN.blit(menu_head, menu_head_rect)
222 easy.draw()
223 medium.draw()
224 hard.draw()
225 cursor.update()
226 pygame.display.flip()
227
228 def easy_game(self):
229 global created, FPS, started

Callers 1

start_gameMethod · 0.95

Calls 2

drawMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected