Skip to content

BrianUribe6/my2048

 
 

Repository files navigation

Elegant 2048

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.

Preview

How to Play

  • 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.

Play the Game

You can play Elegant 2048 online at Elegant 2048.

Built With

  • 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

Contributing

Contributions are welcome! Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • The original 2048 game was created by Gabriele Cirulli.
  • The React documentation and community.

About

Yet another clone of 2048 game in React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.6%
  • CSS 16.5%
  • HTML 4.9%