MarkBrianAdam commited on
Commit
e26fbc6
·
verified ·
1 Parent(s): ad1b4a1

redefine the codes to make the game a little less challenging - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -329,8 +329,8 @@
329
 
330
  // Increase difficulty
331
  if (score % 5 === 0) {
332
- gameSpeed += 0.5;
333
- pipeFrequency = Math.max(1000, pipeFrequency - 100);
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