Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 751 Bytes

readme.md

File metadata and controls

41 lines (27 loc) · 751 Bytes

Game 2048

Demo

Play Online

Usage

  • Run with term

      cd ui/terminal
      npm i
      node .

    term

  • Run with browser

      cd ui/html
      npm i
      node node_modules/webpack/bin/webpack.js

    browser open ui/html/dist/index.html

    image

  • Use as a lib

    • Using in ES6 env, just include ./lib/index.js

    • Using in browser

        npm i
        node node_modules/webpack/bin/webpack.js
        # find the target file in dist/index.js