MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / win

Function win

examples/space_invaders/space_invaders.py:527–531  ·  view source on GitHub ↗

Handle the win case.

(session, window, state)

Source from the content-addressed store, hash-verified

525
526
527def win(session, window, state):
528 """Handle the win case."""
529 render_message(session, window, "win_message", 15, 15)
530 time.sleep(2)
531 start(session, window, state, True)
532
533
534def lose(session, window, state):

Callers 1

update_stateFunction · 0.85

Calls 2

render_messageFunction · 0.85
startFunction · 0.85

Tested by

no test coverage detected