traffic generation, collision detection and game over screen