mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-10 00:48:32 +01:00
implement simple balance by rating
This commit is contained in:
@@ -134,7 +134,11 @@ function balance(){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
prioBalanceCheckbox = document.getElementById("prio-balance")
|
||||
if(prioBalanceCheckbox.checked){
|
||||
dictAll["acceptable-solution-threshold"] = 0.7
|
||||
}
|
||||
jsonData = JSON.stringify(dictAll, null, 4);
|
||||
|
||||
/* transmitt */
|
||||
@@ -266,5 +270,10 @@ setInterval(queryForPlayerData(), 3000)
|
||||
|
||||
formContainer = document.getElementById("form-container")
|
||||
if(formContainer){
|
||||
formContainer.reset()
|
||||
//formContainer.reset()
|
||||
}
|
||||
|
||||
function resetAll(){
|
||||
formContainer = document.getElementById("form-container")
|
||||
formContainer.reset()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user