diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/cards/script.js | 2 |
1 files changed, 0 insertions, 2 deletions
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; |