Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ outsideGrid
Function
outsideGrid
Snake Game /grid.js:10–15 ·
view source on GitHub ↗
(position)
Source
from the content-addressed store, hash-verified
8
}
9
10
export
function
outsideGrid(position) {
11
return
(
12
position.x < 1 || position.x > GRID_SIZE ||
13
position.y < 1 || position.y > GRID_SIZE
14
)
15
}
Callers
1
checkDeath
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected