From 95067512ffb2ee129581146cc433ddd9c79c3b49 Mon Sep 17 00:00:00 2001 From: elioat Date: Sat, 11 Jan 2025 12:21:17 -0500 Subject: * --- html/cards/script.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'html') diff --git a/html/cards/script.js b/html/cards/script.js index b6bb9dc..8df9453 100644 --- a/html/cards/script.js +++ b/html/cards/script.js @@ -4,7 +4,6 @@ const CARD_HEIGHT = 150; const PADDING = 10; const SUITS = ['❤️', '♦️', '♣️', '♠️']; const VALUES = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A']; -const CARD_BACK_COLOR = '#FFCC00'; const PATTERN_SIZE = 10; const INITIAL_CARD_X = 20; const INITIAL_CARD_Y = 20; @@ -45,7 +44,6 @@ const clearCanvas = () => { }; const drawCardBack = card => { - ctx.fillStyle = CARD_BACK_COLOR; ctx.fillRect(card.x, card.y, CARD_WIDTH, CARD_HEIGHT); drawRetroPattern(card); ctx.strokeStyle = CARD_BORDER_COLOR; -- cgit 1.4.1-2-gfad0