MCPcopy Create free account
hub / github.com/codemistic/Web-Development / draw

Function draw

Snake Game /game.js:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37function draw() {
38 gameBoard.innerHTML = ''
39 drawSnake(gameBoard)
40 drawFood(gameBoard)
41}
42
43function checkDeath() {
44 gameOver = outsideGrid(getSnakeHead()) || snakeIntersection()

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected