Skip to content

Dimononon/2048-game

Repository files navigation

2048 game

A visually stunning, neon-themed implementation of the classic 2048 puzzle game. This project features a modern "glassmorphism" aesthetic with vibrant glow effects, smooth animations, and a responsive design.

✨ Features

  • Neon Glassmorphism UI: Beautiful semi-transparent backgrounds with deep blurs and glowing accents.
  • Dynamic Animations: Smooth tile movement, appearance transitions, and merge effects.
  • Score Tracking: Real-time score updates as you merge tiles.
  • Classic Gameplay: Familiar 2048 mechanics with arrow keys or WASD controls.
  • Responsive Layout: Optimized for various screen sizes while maintaining a premium feel.

🚀 Tech Stack

  • Frontend: HTML5, SCSS (Sass)
  • Logic: Vanilla JavaScript (ES6+)
  • Build Tool: Parcel
  • Lints: ESLint, Stylelint, LintHTML

🛠️ Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/2048-game.git
    cd 2048-game
  2. Install dependencies:

    npm install

Running Locally

To start the development server:

npm start

This will run the project using Parcel, and you can view it in your browser (usually at http://localhost:1234).

Production Build

To create a production-ready build:

npm run build

📜 License

This project is licensed under the GPL-3.0 License.

Releases

No releases published

Packages

 
 
 

Contributors