Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TowhidKashem/snake-game
/ functions
Functions
14 in github.com/TowhidKashem/snake-game
⨍
Functions
14
◇
Types & classes
2
↓ 2 callers
Method
drawFood
(x, y)
app.js:240
↓ 2 callers
Method
generateSnake
()
app.js:149
↓ 2 callers
Method
setUpGame
()
app.js:67
↓ 1 callers
Method
changeDirection
(keyCode)
app.js:123
↓ 1 callers
Method
chooseDifficulty
(difficulty)
app.js:59
↓ 1 callers
Method
detectCollision
()
app.js:254
↓ 1 callers
Method
drawSnake
()
app.js:198
↓ 1 callers
Method
endGame
()
app.js:274
↓ 1 callers
Method
generateFood
()
app.js:213
↓ 1 callers
Method
init
()
app.js:45
↓ 1 callers
Method
resetCanvas
()
app.js:139
↓ 1 callers
Method
startGame
()
app.js:97
↓ 1 callers
Method
validateDirectionChange
(keyPress, currentDirection)
app.js:132
Method
constructor
()
app.js:2