Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
def
Sum8(state):
124
return
SumNeighbors(
125
state, (
126
'nw0'
,
'n0'
,
'ne0'
,
127
'w0'
,
'e0'
,
128
'sw0'
,
's0'
,
'se0'
))
129
130
131
def
Sum9(state):
Callers
2
LifeRule
Function · 0.85
BrainRule
Function · 0.85
Calls
1
SumNeighbors
Function · 0.85
Tested by
no test coverage detected