Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ endGame
Function
endGame
assets/js/block_ninja.js:1468–1474 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1466
}
1467
1468
function
endGame() {
1469
handleCanvasPointerUp();
1470
if
(isNewHighScore()) {
1471
setHighScore(state.game.score);
1472
}
1473
setActiveMenu(MENU_SCORE);
1474
}
1475
1476
1477
Callers
1
tick
Function · 0.70
Calls
4
handleCanvasPointerUp
Function · 0.85
isNewHighScore
Function · 0.85
setHighScore
Function · 0.85
setActiveMenu
Function · 0.85
Tested by
no test coverage detected