"Catch the Falling Objects" is a fun, browser-based game built with Flask and JavaScript. The objective is simple: catch falling objects using a basket! Enjoy a night mode filled with stars and a moon, and aim to reach a score of 50 to win! ๐
- โจ Catch Falling Objects: Colorful shapes like triangles, circles, and hexagons.
- ๐ฑ Responsive Design: Optimized for desktop browsers.
- ๐ Scoring System: Compete to reach a winning score of 50.
- ๐ Game Over & Win Screens: Exciting messages to celebrate your success!
- โธ๏ธ Pause & Restart: Flexibility to pause or restart your game anytime.
- Flask: A lightweight WSGI web application framework in Python.
- JavaScript: For dynamic game logic and interactivity.
- HTML/CSS: Structure and styling that bring the game to life.
-
Clone the repository:
git clone https://github.com/prasanth624/Catch-the-Falling-Objects-Game.git cd Catch-the-Falling-Objects-Game -
Install Flask: Ensure you have Python installed, then install Flask using pip:
pip install Flask
-
Run the Application: Start the Flask server:
python app.py
The application will be accessible at
http://<your-server-ip>:5000.
-
Clone the repository:
git clone https://github.com/prasanth624/Catch-the-Falling-Objects-Game.git cd Catch-the-Falling-Objects-Game -
Build the Docker image:
docker build -t catch-the-falling-objects . -
Run the Docker container:
docker run -itd -p 5000:5000 catch-the-falling-objects
The application will be accessible at
http://<your-server-ip>:5000.
- ๐ฑ๏ธ Move your mouse to position the basket.
- ๐ Catch the falling objects to increase your score.
- โ Miss three objects, and it's game over.
- ๐ฏ Reach a score of 50 to claim victory!
- Mouse Move: Move the basket left and right.
- ๐ Restart Button: Click to restart the game anytime.
- โธ๏ธ Pause Button: Click to pause or resume the game.
๐ก Feel free to fork the repository and submit pull requests for any improvements or features you'd like to add!
๐ This project is licensed under the MIT License. See the LICENSE file for more details.
