xdgfhkmd,zf
This commit is contained in:
parent
b52367312e
commit
734dd6dcca
@ -388,7 +388,15 @@
|
|||||||
hand.appendChild(deckSlot);
|
hand.appendChild(deckSlot);
|
||||||
|
|
||||||
// ── Slots 2–4: aufgedeckte Handkarten (leer bis API lädt) ───
|
// ── Slots 2–4: aufgedeckte Handkarten (leer bis API lädt) ───
|
||||||
const handCardIds = ["hand-card-1", "hand-card-2", "hand-card-3"];
|
const handCardIds = [
|
||||||
|
"hand-card-1",
|
||||||
|
"hand-card-2",
|
||||||
|
"hand-card-3",
|
||||||
|
"hand-card-4",
|
||||||
|
"hand-card-5",
|
||||||
|
"hand-card-6",
|
||||||
|
"hand-card-7",
|
||||||
|
];
|
||||||
handCardIds.forEach((id) => {
|
handCardIds.forEach((id) => {
|
||||||
const s = document.createElement("div");
|
const s = document.createElement("div");
|
||||||
s.className = "hand-slot hand-slot-card";
|
s.className = "hand-slot hand-slot-card";
|
||||||
@ -397,14 +405,6 @@
|
|||||||
hand.appendChild(s);
|
hand.appendChild(s);
|
||||||
});
|
});
|
||||||
|
|
||||||
// ── Slots 5–8: leere Slots ───────────────────────────
|
|
||||||
for (let i = 0; i < 4; i++) {
|
|
||||||
const s = document.createElement("div");
|
|
||||||
s.className = "hand-slot";
|
|
||||||
s.innerHTML = '<span class="hs-icon">🃏</span>';
|
|
||||||
hand.appendChild(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ══════════════════════════════════════════════════════
|
// ══════════════════════════════════════════════════════
|
||||||
// HAND & DECK SYSTEM
|
// HAND & DECK SYSTEM
|
||||||
// ══════════════════════════════════════════════════════
|
// ══════════════════════════════════════════════════════
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user