/2048-clone

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

2048-clone

Codacy Badge

a clone of 2048 (realized during the CodingAcademy training, as JQuery plugin) - archived repository

Snapshot

How to play

Clone the repository.
Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one. The game stopped when :

  • 2048 tile is reached,
  • the square is full and no more tile can merged.

How to use (plugin)

Pre-requisites

  • JQuery

HTML structure

Add a div with "squareLocation" id where you want to append the square.

<div id="squareLocation"></div>

This version is not responsive (minimum width: 1030px).