Spaces:
Running
Running
redefine the codes to make the game a little less challenging - Follow Up Deployment
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -329,8 +329,8 @@
|
|
| 329 |
|
| 330 |
// Increase difficulty
|
| 331 |
if (score % 5 === 0) {
|
| 332 |
-
gameSpeed += 0.
|
| 333 |
-
pipeFrequency = Math.max(
|
| 334 |
}
|
| 335 |
}
|
| 336 |
|
|
|
|
| 329 |
|
| 330 |
// Increase difficulty
|
| 331 |
if (score % 5 === 0) {
|
| 332 |
+
gameSpeed += 0.3;
|
| 333 |
+
pipeFrequency = Math.max(1200, pipeFrequency - 50);
|
| 334 |
}
|
| 335 |
}
|
| 336 |
|