We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a2bb96 commit 5773f8cCopy full SHA for 5773f8c
src/game/Runner.js
@@ -320,9 +320,9 @@ export default class Runner {
320
321
const lives = this.tRexGroup.lives();
322
if (lives > 0) {
323
- this.generationEl.innerText = `Generation #${Runner.generation} | T-Rex x ${this.tRexGroup.lives()}`;
+ this.generationEl.innerText = `GENERATION #${Runner.generation} | LIVE x ${this.tRexGroup.lives()}`;
324
} else {
325
- this.generationEl.innerText = 'GAME OVER';
+ this.generationEl.innerHTML = `<div style="color: red;">GENERATION #${Runner.generation} | GAME OVER</div>`;
326
}
327
328
0 commit comments