Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ Loop
Method
Loop
recipes/Python/578808_Python_Game_of_Life/recipe-578808.py:166–172 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
164
self.screen.blit(pop, (650, 15))
165
166
def
Loop(self):
167
# main game loop
168
self.eventLoop()
169
170
self.Tick()
171
self.Draw()
172
pygame.display.update()
173
174
def
eventLoop(self):
175
# the main event loop, detects keypresses
Callers
1
__init__
Method · 0.95
Calls
4
eventLoop
Method · 0.95
Tick
Method · 0.95
Draw
Method · 0.95
update
Method · 0.45
Tested by
no test coverage detected