A fun physics-based fruit merging game! Merge identical fruits to create bigger ones.
- ๐ฑ๏ธ Move your mouse to position the fruit
- ๐ฑ๏ธ Click to drop the fruit
- โจ Merge same fruits to create bigger ones!
โ ๏ธ Don't let fruits overflow the line
- ๐ Various Fruits: From cherries to watermelons
- ๐ Score System: Track and beat your high score
- ๐ฑ Responsive Design: Play on any screen size
- โก Physics Engine: Realistic physics powered by Matter.js
- HTML5 Canvas - Game rendering
- Matter.js - Physics engine
- Vanilla JavaScript - Game logic
- CSS3 - Modern UI/UX
fruits-maker/
โโโ index.html # Main HTML file
โโโ style.css # Stylesheet
โโโ game.js # Game logic
โโโ README.md # Project documentation
- Clone or download the repository
- Open
index.htmlin your web browser - Enjoy the game!
Note: Internet connection required to load Matter.js from CDN.
- When the game starts, fruits are generated randomly
- Adjust left/right position with your mouse and click to drop
- When identical fruits collide, they merge into a larger fruit
- Game ends when fruits cross the game over line
- Try to achieve the highest score possible!
You earn points every time you merge fruits. Creating bigger fruits gives you higher scores!