Skip to content
/ Huntris Public

Tetris developed with Modern JavaScript and HTML5 Canvas.

Notifications You must be signed in to change notification settings

CoderK/Huntris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huntris

Tetris developed with Modern JavaScript and HTML5 Canvas. This project consists of the latest JavaScript development environment below:

  • es2015 with babel + decorator legacy
  • webpack + npm
  • mocha + chai
  • eslint with airbnb base

Installation

Clone this repository,

git clone https://github.com/CoderK/Huntris.git

and then install dependencies.

cd Huntris && npm install

Build

Just build source codes:

npm build

If you want to run webpack-dev-server with HMR(Hot Module Replacement):

npm start

Test

You must install the node-test package before running the test.

https://www.npmjs.com/package/canvas

Run all unit tests once:

npm test

Run all unit tests with watch mode:

npm run tdd

You can use Chrome's Inspect mode to do real-time debugging on your Chrome browser.

About

Tetris developed with Modern JavaScript and HTML5 Canvas.

Resources

Stars

Watchers

Forks

Packages

No packages published