MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / drawLives

Function drawLives

assets/js/breakout.js:134–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132ctx.fillText("Score: "+score, 8, 20);
133}
134function drawLives() {
135ctx.font = "16px Arial";
136ctx.fillStyle = "white";
137ctx.fillText("Lives: "+lives, canvas.width-65, 20);
138}
139function sound(src) {
140 this.sound = document.createElement("audio");
141 this.sound.src = src;

Callers 1

drawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected