From ecaf94fef54744231036d5b00d384e0eecf0b6dd Mon Sep 17 00:00:00 2001 From: miles Date: Wed, 4 Feb 2026 19:23:24 +0000 Subject: [PATCH] added coler --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 3335f3f..440bb18 100644 --- a/script.js +++ b/script.js @@ -34,12 +34,12 @@ let playerScore = 0; let computerScore = 0; function drawPaddle(paddle) { - ctx.fillStyle = '#fff'; + ctx.fillStyle = '#1100ff'; ctx.fillRect(paddle.x, paddle.y, paddle.width, paddle.height); } function drawBall() { - ctx.fillStyle = '#fff'; + ctx.fillStyle = '#1aff00'; ctx.fillRect(ball.x, ball.y, ball.size, ball.size); }