Skip to content
This repository was archived by the owner on Dec 10, 2017. It is now read-only.

Latest commit

 

History

History
executable file
·
26 lines (19 loc) · 864 Bytes

File metadata and controls

executable file
·
26 lines (19 loc) · 864 Bytes

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).