Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ updateScore
Function
updateScore
JS - Chrome Dino Game Clone/script.js:57–60 ·
view source on GitHub ↗
(delta)
Source
from the content-addressed store, hash-verified
55
}
56
57
function
updateScore(delta) {
58
score += delta * 0.01
59
scoreElem.textContent = Math.floor(score)
60
}
61
62
function
handleStart() {
63
lastTime = null
Callers
1
update
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected