Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ food.js
File
food.js
Snake Game /food.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ onSnake, expandSnake } from
'./snake.js'
2
import
{ randomGridPosition } from
'./grid.js'
3
4
let
food = getRandomFoodPosition()
Callers
nothing calls this directly
Calls
1
getRandomFoodPosition
Function · 0.85
Tested by
no test coverage detected