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

Function drawPaddle

assets/js/breakout.js:105–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103ctx.closePath();
104}
105function drawPaddle() {
106ctx.beginPath();
107ctx.rect(paddleX, canvas.height-paddleHeight, paddleWidth, paddleHeight);
108ctx.fillStyle = grd;
109ctx.fill();
110ctx.closePath();
111}
112function drawBricks() {
113for(var c=0; c<brickColumnCount; c++) {
114 for(var r=0; r<brickRowCount; r++) {

Callers 1

drawFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected