MCPcopy Create free account
hub / github.com/SimHacker/micropolis / Sum8

Function Sum8

MicropolisCore/src/pyMicropolis/cellEngine/cellrulecompiler.py:123–128  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

121 return sum
122
123def Sum8(state):
124 return SumNeighbors(
125 state, (
126 'nw0', 'n0', 'ne0',
127 'w0', 'e0',
128 'sw0', 's0', 'se0'))
129
130
131def Sum9(state):

Callers 2

LifeRuleFunction · 0.85
BrainRuleFunction · 0.85

Calls 1

SumNeighborsFunction · 0.85

Tested by

no test coverage detected