Skip to content

lublubuterbrodi/2048-Game

Repository files navigation

2048 Game — Classic Puzzle Built with JavaScript

This project is a recreation of the popular 2048 puzzle game, implemented using clean JavaScript, HTML, and CSS. It features smooth tile movement, score tracking, keyboard controls, and a responsive UI.

The goal is simple: combine matching tiles to reach 2048 — or go even further!


🔗 Live Preview

Live Demo

Play the live version of the game here: 👉 2048 Game Demo


🛠 Technologies Used

Core

  • HTML5 — game layout and structure
  • CSS3 — styling and animations
  • JavaScript (ES6) — game logic and interactions

UI / UX

  • Smooth tile animations
  • Responsive layout
  • Keyboard arrow-key support
  • Dynamic tile generation
  • Score counting and game-over logic

Development Tools

  • Git / GitHub — version control and deployment
  • VS Code — development environment

🚀 Getting Started

Follow these steps to run the project locally:

1. Clone the repository

git clone https://github.com/lublubuterbrodi/2048-Game.git
cd 2048-Game

2. Install dependencies

This project does not require any dependencies or build tools. You can skip this step.


3. Run the project locally

Simply open index.html in your browser:

  • Double-click index.html, or
  • Right-click → Open With → your preferred browser

✨ Features

  • Classic 2048 mechanics — swipe/arrow-key movement
  • Smooth animations — tiles slide and merge fluidly
  • Responsive layout — playable on desktop and mobile
  • Random tile generation — ensuring replayability
  • Score tracking — live updates with each merge
  • Game over detection — informs you when no moves are left
  • Clean & minimalist UI inspired by the original 2048

🤝 Contributions

Feel free to fork the project, open issues, or submit pull requests with improvements, bug fixes, or new features.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors