/2048

Primary LanguageJavaScript

2048

Welcome to the Game2048 repository! This project is a recreation of the classic 2048 game, developed by peet86.

You can play the deployed version of the game here: Play Game2048

Technology Stack

  • Vite (build tool)
  • Vue.js 3 (ui)
  • Vanilla JS (game logic)
  • TailwindCSS + PostCSS (css fw.)
  • Vitest (unit tests)

Project Structure

  • The game logic is encapsulated in a vanilla JavaScript module, making it independent and reusable.
  • The user interface is built using Vue.js 3, providing a responsive and interactive user experience on both Desktop and Mobile devices.

Development

After cloning or downloading the repository, navigate to the project directory and run the following commands to install dependencies and start the development server:

yarn install
yarn dev

License

This project is open source and available under the MIT License.

Credits

Inspired by 2048 by Gabriele Cirulli and other open source 2048 clones.