Overview
Sample javascript application implementing the classic 2048 game. Main project is based on the game-2048 library and Webpack.
Requirements
node 16
Building the 2048 Game Application
Main project is javascript based, hence you can build the application via npm:
npm install --include=dev
npm run buildYou can test the application locally, by running below command:
npm startAbove command will start a web server in development mode, which you can access at localhost:8080. Please visit the main library configuration section from the public npm registry to see all available options.
Open a web browser and point to localhost:8080. You should see the game-2048 welcome page:
