esthétisme

This commit is contained in:
fabien
2024-09-12 20:53:18 +02:00
parent b7e3ebae22
commit 874955b86e

View File

@@ -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 + " <br/>" );
// showDebug ("players dispo " +possibleplayers.length + " <br/>" );
//youpi , une table faite
if(possibleplayers.length >= playerAtTable ) {
@@ -205,17 +205,18 @@
show ("<span style='color:green' >"+ text +"</span><br/>");
}
function showWarning(text){
show ("<span style='color:red' >"+ text +"</span><br/>");
}
function showWarning(text){
show ("<span style='color:red' >"+ text +"</span><br/>");
}
function showDebug(text){
show ("<span style='color:gray' >"+ text +"</span><br/>");
}
function show(text) {
elem = document.getElementById("results");
elem.insertAdjacentHTML( 'beforeend', text);
}
function showDebug(text){
show ("<span style='color:gray' >"+ text +"</span><br/>");
}
function show(text) {
elem = document.getElementById("results");
elem.insertAdjacentHTML( 'beforeend', text);
}
</script>
<div id="param" style="float:left;width:50%; text-align:center">
Nombres de jouers (nom inventés) <input id="players" name="players" placeholder="nombre de joueurs" type ="text"/><br/>