Skip to content

ptbit/js-2048-game

Repository files navigation

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.

Releases

No releases published

Packages

No packages published