Commit 30a2efd6 by doszhang

dos

parent cccd31b5
......@@ -144,17 +144,18 @@ function chooseColorMove(e) {
} else if (left > 26.62) {
left = 26.62;
}
if (left < 5.1) {
if (left < 6.59) {
console.log(1);
} else if (left > 5.1 && left < 11.5) {
} else if (left > 6.59 && left < 11) {
console.log(2);
} else if (left > 11.5 && left < 16.2) {
} else if (left > 11 && left < 15.46) {
console.log(3);
} else if (left > 16.2 && left < 21) {
} else if (left > 15.46 && left < 19.91) {
console.log(4);
} else if (left > 21 && left < 24.84) {
} else if (left > 19.91 && left < 24.38) {
console.log(5);
} else if (left > 24.84) {
} else if (left > 24.38) {
console.log(6);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment