Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -817,8 +817,8 @@
|
|
| 817 |
});
|
| 818 |
}
|
| 819 |
|
| 820 |
-
// Add new target every
|
| 821 |
-
if (state.hits %
|
| 822 |
state.targetCount++;
|
| 823 |
state.currentColorIndex = (state.currentColorIndex + 1) % state.colors.length;
|
| 824 |
setupCursor();
|
|
|
|
| 817 |
});
|
| 818 |
}
|
| 819 |
|
| 820 |
+
// Add new target every 10 hits
|
| 821 |
+
if (state.hits % 10 === 0) {
|
| 822 |
state.targetCount++;
|
| 823 |
state.currentColorIndex = (state.currentColorIndex + 1) % state.colors.length;
|
| 824 |
setupCursor();
|