Skip to content

Garima-7/2048-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048-Game

INTRODUCTION

A 2048 Game made with html,css and javascript.2048 is a single-player sliding tile puzzle 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; however, one can continue to play the game after reaching the goal, creating tiles with larger numbers. No packages or libraries are needed.

DESCRIPTION

The rules of the game are as follows:
There are some numbers on the board.
Swipe/key press any direction (up, down, left, right) to move all tiles.
A new tile of 2 will appear on the board after every move.
When two tiles with same numbers touch each other, they merge into one.
When the board is filled up, you lose.
When you create 2048 you win and can still care on the game to create more and more high scores.

TECH STACK USED

HTML
CSS
JavaScript