Use JOKER-3.svg for the colorful joker

Point JOKER-COLOR at /cards/JOKER-3.svg instead of JOKER-1.svg.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
goyban
2026-08-12 09:22:08 +00:00
parent 23ae455ec1
commit 3cf338d014
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "shelem",
"version": "1.1.5",
"version": "1.1.6",
"description": "Shelem card game — multiplayer",
"main": "server.js",
"scripts": {
+1 -1
View File
@@ -235,7 +235,7 @@ function show(id) { const el = $(id); if (el) el.classList.remove('hidden'); }
function hide(id) { const el = $(id); if (el) el.classList.add('hidden'); }
function cardSvg(code) {
if (code === 'JOKER-COLOR') return '/cards/JOKER-1.svg';
if (code === 'JOKER-COLOR') return '/cards/JOKER-3.svg';
if (code === 'JOKER-BLACK') return '/cards/JOKER-2.svg';
const [suit, rank] = code.split('-');
const suitMap = { C: 'CLUB', D: 'DIAMOND', H: 'HEART', S: 'SPADE' };