From 874955b86e5c23667b1b37fdf68674ed6ba9aaee Mon Sep 17 00:00:00 2001 From: fabien Date: Thu, 12 Sep 2024 20:53:18 +0200 Subject: [PATCH] =?UTF-8?q?esth=C3=A9tisme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- table.html | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/table.html b/table.html index 9093fae..5d466ba 100644 --- a/table.html +++ b/table.html @@ -63,10 +63,10 @@ while(tables < maxgameplayed && essai < 10) { essai++; selectedGame = findgame(playersAvailableInSession, gameThisSession); - showDebug( "try for " +selectedGame +", players disponibles "+playersAvailableInSession.length ); + //showDebug( "try for " +selectedGame +", players disponibles "+playersAvailableInSession.length ); possibleplayers = chooseplayers(playersAvailableInSession, selectedGame); - showDebug ("players dispo " +possibleplayers.length + "
" ); + // showDebug ("players dispo " +possibleplayers.length + "
" ); //youpi , une table faite if(possibleplayers.length >= playerAtTable ) { @@ -205,17 +205,18 @@ show (""+ text +"
"); } - function showWarning(text){ - show (""+ text +"
"); - } + function showWarning(text){ + show (""+ text +"
"); + } + + function showDebug(text){ + show (""+ text +"
"); + } + function show(text) { + elem = document.getElementById("results"); + elem.insertAdjacentHTML( 'beforeend', text); + } - function showDebug(text){ - show (""+ text +"
"); - } - function show(text) { - elem = document.getElementById("results"); - elem.insertAdjacentHTML( 'beforeend', text); - }
Nombres de jouers (nom inventés)