veronikajustvera/2048nativejs

2024 native js. Test composer package creation.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

pkg:composer/veronikajustvera/2048nativejs

1.0 2025-02-27 12:07 UTC

This package is auto-updated.

Last update: 2025-12-25 15:12:08 UTC


README

2048 is a single-player sliding tile puzzle video game. The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048.

Current repository contains a simple implementation of the classic 2048 game using pure JavaScript, HTML, and CSS.

📜 How to Play

  • Use arrow keys (, , , ) to move the tiles.

  • Tiles with the same number merge when they touch, doubling their value.

  • The goal is to reach the 2048 tile.

  • The game is over when no moves are possible.

🚀 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/veronikajustvera/2048-native-JS.git
cd 2048-native-JS

2️⃣ Open the Game

Simply open index.html in your browser.