MCPcopy 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

1import { onSnake, expandSnake } from './snake.js'
2import { randomGridPosition } from './grid.js'
3
4let food = getRandomFoodPosition()

Callers

nothing calls this directly

Calls 1

getRandomFoodPositionFunction · 0.85

Tested by

no test coverage detected