// function uses a random sequence generated in python.
// This is for the rounds
function yellowrandomRound(){
let sample=js_vars.marble_sample;
let N=js_vars.N;
let random_yellow = ''
for (let i = 0; i < N; i++) {
var n = sample[i];
if (n < 1) {
random_yellow += "
";
} else {
random_yellow += "
";
}
}
document.getElementById("random_seq").innerHTML = random_yellow;
if (document.getElementById("displaytable").style.display === "none")
document.getElementById("displaytable").style.display="block";
}