diff --git a/frontend/pages/riichi/chap5.html b/frontend/pages/riichi/chap5.html index 577627a..6967538 100644 --- a/frontend/pages/riichi/chap5.html +++ b/frontend/pages/riichi/chap5.html @@ -166,13 +166,19 @@ // Créer une nouvelle partie et afficher les mains const game = new Game(); - console.log(game) for (let i = 0; i < 4; i++) { const handDiv = document.getElementById(`hand-${i}`); handDiv.innerHTML = ''; for (const tile of game.hands[i].tiles) { const tileDiv = document.createElement('div'); - tileDiv.innerHTML = tile.getSVG(); + if (i === 0) { + tileDiv.innerHTML = tile.getSVG(); + } else { + tileDiv.innerHTML = ` + + + `; + } handDiv.appendChild(tileDiv); } }