Elegant 2048 is a clone of the popular 2048 game built using React. It is a single-player puzzle game where the objective is to combine tiles with the same value to create a tile with the value of 2048.
- Use the arrow keys or swipe (on touch screen devices) to move the tiles in the desired direction.
- Tiles with the same value will merge into one when they touch.
- Each move adds a new tile with the value of either 2 or 4.
- The game is won when a tile with the value of 2048 is created.
- The game is over when there are no more moves available.
You can play Elegant 2048 online at Elegant 2048.
- React - A JavaScript library for building user interfaces.
- react-swipeable - A simple component for adding swipe event listeners to elements.
- react-spring - A react spring-based animations library
Contributions are welcome! Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE file for details.
- The original 2048 game was created by Gabriele Cirulli.
- The React documentation and community.