ptbit / js-2048-game

JS Advanced task. Create a 2048 game.

Home Page:https://ptbit.github.io/js-2048-game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2048 Game

Preview:

2048_prev

Demo:

Try to play 2048 Game: click here

Description:

This project is a recreation of the popular game 2048.
It showcases my skills in JS.
The entire game logic is written using the functional programming method.

To simplify testing of lose/win cases, hotkeys are provided:
e - for lose game case
w - for win game case

Feature:

⚡️ Simple and intuitive game interface
⚡️ Functional programming
⚡️ Pure JS no frameworks
⚡️ Simple final cases tests
⚡️ Valid JS

Technologies used:

HTML5 CSS3 JavaScript

Installation and Setup:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory in your terminal.
  3. Install the dependencies by running npm install or yarn install.
  4. Start the project by running npm start or yarn start.
  5. Open your browser and go to http://localhost:8080 to view the project.

About

JS Advanced task. Create a 2048 game.

https://ptbit.github.io/js-2048-game/

License:GNU General Public License v3.0


Languages

Language:JavaScript 54.3%Language:CSS 28.7%Language:HTML 17.0%