MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / game_logic

Function game_logic

example_code/item_073.py:82–84  ·  view source on GitHub ↗
(state, neighbors)

Source from the content-addressed store, hash-verified

80
81
82def game_logic(state, neighbors):
83 # Do some blocking input/output in here:
84 data = my_socket.recv(100)
85
86def game_logic(state, neighbors):
87 if state == ALIVE:

Callers 1

game_logic_threadFunction · 0.70

Calls 1

recvMethod · 0.80

Tested by

no test coverage detected