Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ drawScore
Function
drawScore
assets/js/breakout.js:129–133 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
127
}
128
}
129
function
drawScore() {
130
ctx.font =
"16px Arial"
;
131
ctx.fillStyle =
"white"
;
132
ctx.fillText(
"Score: "
+score, 8, 20);
133
}
134
function
drawLives() {
135
ctx.font =
"16px Arial"
;
136
ctx.fillStyle =
"white"
;
Callers
1
draw
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected