This commit is contained in:
2026-03-26 13:12:14 +01:00
parent 101820581e
commit 6ddb6a3ffd
6 changed files with 221 additions and 167 deletions
+11 -1
View File
@@ -243,7 +243,7 @@ async function setupPlayers() {
newHtml += `
<div class="player-slot slot-${index}
${player.is_folded ? ' blur-effect' : ''}
${player.is_folded ? toPornoJaponnaisOrNotToPornoJaponnais() : ''}
${player.money <= 0 ? ' All-in-Blur' : ''}
${isMe ? 'is-me' : ''}"
data-id="${player.id}">
@@ -538,4 +538,14 @@ function startConfetti() {
document.body.appendChild(confetti);
setTimeout(() => confetti.remove(), 5000);
}
}
function toPornoJaponnaisOrNotToPornoJaponnais(){
// let a = Math.random()
let a = 1
if (a <= 0.25){
return ' porno-japonnais'
} else {
return ' blur-effect'
}
}