Spaces:
Running
Running
Create README-EN
Browse files
README-EN
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Futuristic Falling Ball Game
|
2 |
+
|
3 |
+
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.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- **Falling Ball:** A ball drops from the top of the screen, and you need to catch it with a platform at the bottom.
|
8 |
+
- **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.
|
9 |
+
- **Lives:** You start with 3 lives. Losing a life occurs when you fail to catch the ball.
|
10 |
+
- **Touch and Mouse Controls:** Control the platform using either the mouse or touch gestures on mobile devices.
|
11 |
+
- **Game Over:** The game ends when all lives are lost, showing the final score.
|
12 |
+
|
13 |
+
## How to Play
|
14 |
+
|
15 |
+
1. Move the platform left and right to catch the falling ball.
|
16 |
+
2. Each time you catch the ball, your score increases.
|
17 |
+
3. Every 10 points, the level increases, and the ball falls faster.
|
18 |
+
4. You have 3 lives. Lose a life if you miss the ball.
|
19 |
+
5. The game ends when you run out of lives.
|
20 |
+
6. Upon game over, you can restart the game, which resets the score and level.
|
21 |
+
|
22 |
+
## Technologies Used
|
23 |
+
|
24 |
+
- **HTML**: Provides the structure of the game.
|
25 |
+
- **CSS**: Used for styling the ball, platform, and other game elements.
|
26 |
+
- **JavaScript**: Controls the game logic, such as updating positions, handling collisions, managing lives, and increasing speed as the level progresses.
|
27 |
+
|
28 |
+
## File Structure
|