Skip to content

spojrzenie/js_2048_game

 
 

Repository files navigation

2048 Game Clone

Welcome to the addictive world of 2048! Test your skills and strategic thinking in this captivating 2048 game clone.

Play the Game: DEMO LINK

Game Preview

About the Game

2048 is a popular tile-matching puzzle game where your goal is to combine tiles to reach the coveted 2048 tile. It's a challenging and enjoyable game that will keep you engaged for hours.

Motivation

This project was created as a part of exercises for Mate Academy, with the aim of honing JavaScript, HTML, and CSS skills. The goal was to recreate the 2048 game and learn more about game development and web technologies.

Features

  • Random Tile Generation: New tiles with values of 2 or 4 are generated at random positions on the board.

  • Tile Movement: Use arrow keys to slide tiles in different directions.

  • Tile Combining: Combine tiles with the same value to create a tile with double the value.

  • Game Objective: Strategically combine tiles to reach the 2048 tile and achieve the highest score.

How to Play

  1. Clone this repository to your local environment.
  2. Open the index.html file in your web browser.
  3. Start playing and challenge yourself to reach the 2048 tile!

Technologies Used

  • JavaScript: The core game logic is implemented in JavaScript.
  • HTML: The game interface is built using HTML.
  • CSS (SCSS): Stylish and responsive design powered by SCSS.

Author

Krzysztof Janiewicz

Inspiration

This project is inspired by the original 2048 game created by Gabriele Cirulli. We would like to express our gratitude to Gabriele for his fantastic work and for making the game accessible to the world.

Original Game by Gabriele Cirulli: Play 2048

About

2048: A JavaScript Tile-Matching Challenge. This project was created as a part of exercises for Mate Academy, with the aim of honing JavaScript, HTML, and CSS skills.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 71.3%
  • SCSS 17.6%
  • HTML 11.1%