Project: canvas
Task (easy): When bird collides with ground and the 'store.mode' isn't 'debug', set 'store.isGameOver' to true and end the game. Pause all animations and instantly fade in three centered messages: 'GAME OVER', 'Score: [score]', and 'Click to Play Again'. Input is forbidden for 0.5 seconds after the game ends. Then Click or Enter key instantly restart the game without showing the start screen. Note: Use only canvas rendering, not DOM elements; Window resizing remains active during game over; In debug mode, bird-ground collision is ignored and bird stays at ground level while game continues.