/2048-cubed

A 3D rendering of the famous 2048 game in 3D (i.e. 2048^3) with two render targets: HTML/CSS & WebGL

Primary LanguageJavaScript

2048 Cubed

Installtion

  • Make sure you have node installed: https://nodejs.org/en/
  • Clone the repo and install dependencies: 'npm i'

Get Started

  • Run the repo in development mode. npm run dev
  • Run the repo in development mode with all outputs on a single line. npm run dev -s
  • Prepare and build the repo for distribution. npm run build
  • Lint your project. npm run lint
  • Lint and watch your project npm run lint:watch
  • Run tests npm run test
  • Run and watch tests npm run test:watch
  • Run tests with coverage report npm run test:cover
  • Run tests with coverage report and travis npm run test:cover:travis