https://mina-pecheux.medium.com/making-a-3d-web-runner-game-9-handling-the-game-over-logic-e384cd9f46e8