This HTML file creates a complete Flappy Bird-like game with the following features:
- A 300x300 pixel game area
- A bird that flies higher when the space key is pressed and held
- Obstacles that scroll from right to left
- A score counter in the top-right corner
- A lives counter in the top-left corner (3 hits before game over)
- A welcome screen with a start button
- A game over screen with a retry button
- Aesthetic styling using Tailwind CSS
To play the game:
- Open this HTML file in a web browser.
- Click the "Start Game" button on the welcome screen.
- Press and hold the space key to make the bird fly higher and avoid obstacles.
- Try to survive as long as possible and score points by avoiding obstacles.
- After losing all three lives, click the "Retry" button to play again.
The game uses Tailwind CSS for styling, which is loaded from a CDN for simplicity. The entire game logic is contained within the HTML file, making it easy to run without any additional setup.