A React-based implementation of the popular Candy Sort puzzle game.
Candy Sort is a puzzle game where the player must sort candies of different colors into tubes. The goal is to group all candies of the same color together in a single tube. This project implements the game using React and TypeScript, featuring smooth animations and a clean user interface.
- Interactive gameplay with clickable tubes
- Smooth candy movement animations
- Undo functionality
- New game generation
- Ability to add extra tubes
- React
- TypeScript
- CSS
- Click on a tube to select it.
- Click on another tube to move the top candy from the selected tube to the target tube.
- Continue moving candies until all candies of the same color are grouped together in single tubes.
- Use the "Undo" button to revert moves if needed.
- Click "New Game" to start a fresh puzzle.
- Use "Add Tube" to include an empty tube for more strategic options.
- Clone the repository
- Install dependencies:
npm install
- Run the development server:
npm start
- Open http://localhost:3000 in your browser to play the game.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.