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
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-08-25 14:31:59 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.