| |
|
|
| This is a simple falling ball game where the objective is to catch the falling ball with a platform. The game increases in difficulty as you progress, with the ball falling faster as the score increases. |
|
|
| |
|
|
| - **Falling Ball:** A ball drops from the top of the screen, and you need to catch it with a platform at the bottom. |
| - **Score and Level:** The score and level are displayed. Every time the score reaches a multiple of 10, the level increases, and the ball falls faster. |
| - **Lives:** You start with 3 lives. Losing a life occurs when you fail to catch the ball. |
| - **Touch and Mouse Controls:** Control the platform using either the mouse or touch gestures on mobile devices. |
| - **Game Over:** The game ends when all lives are lost, showing the final score. |
|
|
| |
|
|
| 1. Move the platform left and right to catch the falling ball. |
| 2. Each time you catch the ball, your score increases. |
| 3. Every 10 points, the level increases, and the ball falls faster. |
| 4. You have 3 lives. Lose a life if you miss the ball. |
| 5. The game ends when you run out of lives. |
| 6. Upon game over, you can restart the game, which resets the score and level. |
|
|
| |
|
|
| - **HTML**: Provides the structure of the game. |
| - **CSS**: Used for styling the ball, platform, and other game elements. |
| - **JavaScript**: Controls the game logic, such as updating positions, handling collisions, managing lives, and increasing speed as the level progresses. |
|
|
| |