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

Function game_logic

example_code/item_074.py:113–115  ·  view source on GitHub ↗
(state, neighbors)

Source from the content-addressed store, hash-verified

111 return count
112
113def game_logic(state, neighbors):
114 # Do some blocking input/output in here:
115 data = my_socket.recv(100)
116
117def game_logic(state, neighbors):
118 if state == ALIVE:

Callers 1

step_cellFunction · 0.70

Calls 1

recvMethod · 0.80

Tested by

no test coverage detected