PHPackages                             veronikajustvera/2048nativejs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. veronikajustvera/2048nativejs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

veronikajustvera/2048nativejs
=============================

2024 native js. Test composer package creation.

1.0(1y ago)02MITJavaScriptPHP &gt;=7.4

Since Feb 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/veronikaJustVera/2048nativejs)[ Packagist](https://packagist.org/packages/veronikajustvera/2048nativejs)[ RSS](/packages/veronikajustvera-2048nativejs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

2048 Game
=========

[](#2048-game)

> **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
-------------

[](#-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
-----------------

[](#-getting-started)

### 1️⃣ Clone the Repository

[](#1️⃣-clone-the-repository)

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

```

### 2️⃣ Open the Game

[](#2️⃣-open-the-game)

Simply open `index.html` in your browser.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance45

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

439d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bf188e811b7f1a5c7de093993ab649c11d1841ed7fecf8e526fb64783438b0b?d=identicon)[Veronikajustvera](/maintainers/Veronikajustvera)

---

Top Contributors

[![veronikaJustVera](https://avatars.githubusercontent.com/u/52103035?v=4)](https://github.com/veronikaJustVera "veronikaJustVera (7 commits)")[![vdemianenko23](https://avatars.githubusercontent.com/u/181849821?v=4)](https://github.com/vdemianenko23 "vdemianenko23 (2 commits)")

---

Tags

browser-gamevanilla-js

### Embed Badge

![Health badge](/badges/veronikajustvera-2048nativejs/health.svg)

```
[![Health](https://phpackages.com/badges/veronikajustvera-2048nativejs/health.svg)](https://phpackages.com/packages/veronikajustvera-2048nativejs)
```

###  Alternatives

[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
