A delightful and engaging browser game built with React where players control a bucket to catch falling raindrops. Test your reflexes and aim for the highest score in this time-based challenge!
- Real-time raindrop catching gameplay
- Time-based challenges
- Score tracking system
- Smooth keyboard controls
- Responsive design for all devices
- Beautiful animations using Framer Motion
- Simple and intuitive interface
Issue: The score is not updating properly when catching raindrops.
- Collision detection might not be triggering correctly.
- State updates could be asynchronous, causing a delay in updating the score.
- Bucket position calculations may not be accurately detecting collisions.
- React 18
- Framer Motion
- Tailwind CSS
- JavaScript (ES6+)
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository bash git clone https://github.com/yourusername/raindrop-catcher.git
-
Navigate to the project directory bash cd raindrop-catcher
-
Install dependencies bash npm install or yarn install
-
Start the development server bash npm run dev or yarn run dev
-
Open your browser and visit http://localhost:5173/
- Click the "Start Game" button to begin
- Use the left (←) and right (→) arrow keys to move the bucket
- Catch as many raindrops as possible before the timer runs out
- Each caught raindrop adds to your score
- Try to beat your high score!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
- Follow the existing code style and structure
- Write meaningful commit messages
- Update documentation for significant changes
- Add comments for complex logic
- Test your changes thoroughly before submitting a PR
Have ideas for new features? We'd love to hear them! Please open an issue and:
- Describe the feature in detail
- Explain why it would be useful
- Suggest how it could be implemented
- Include mockups if possible
Distributed under the MIT LICENCE.
- React team for the amazing framework
- Framer Motion for smooth animations
- Tailwind CSS for the styling system
- All our contributors and supporters
Made with ♥ by [Akshi Jain]
