esthétisme
This commit is contained in:
25
table.html
25
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 + " <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/>
|
||||
|
||||
Reference in New Issue
Block a user