()
| 71 | } |
| 72 | |
| 73 | function handleLose() { |
| 74 | setDinoLose() |
| 75 | setTimeout(() => { |
| 76 | document.addEventListener("keydown", handleStart, { once: true }) |
| 77 | startScreenElem.classList.remove("hide") |
| 78 | }, 100) |
| 79 | } |
| 80 | |
| 81 | function setPixelToWorldScale() { |
| 82 | let worldToPixelScale |
no test coverage detected