Skip to content

AnnBusya/JS-Game-2048

Repository files navigation

2048 Game

Welcome to the 2️⃣0️⃣4️⃣8️⃣ Game! 🎉

This project replicates the classic 2048 game where players combine tiles with the same number to reach the 2048 tile. The game is developed using HTML, CSS, and JavaScript and efficient algorithms to manage game state and interactions.

Features

  • Responsive Design: Works seamlessly on various screen sizes.
  • Smooth Animations: Optional animations for tile movement and merging.
  • Score Tracking: Keeps track of the player's score, updated with each move.
  • Win and Game Over Conditions: Displays messages when the player wins or no more moves are possible.
  • Restart Functionality: Easily restart the game at any point.

Technologies Used

  • HTML5: Structuring the game layout.
  • CSS3: Styling the game, including responsive design and optional animations.
  • JavaScript (ES6): Core game logic, event handling, and DOM manipulation.

How to Play

  1. Use the arrow keys to move the tiles.
  2. Tiles with the same number merge into one when they touch.
  3. The goal is to reach the 2048 tile.
  4. The game ends when there are no more moves left.

Enjoy the game and test your skills by reaching the elusive 2048 tile! 😎

Play the Game Now!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published