ngx

ngx2048

2048 game as Angular 5 component

Showing:

Popularity

Downloads/wk

1

GitHub Stars

2

Maintenance

Last Commit

4yrs ago

Contributors

0

Package

Dependencies

15

License

MIT

Type Definitions

Built-In

Tree-Shakeable

Yes?

Categories

Readme

ngx-2048

Angular 5 component for the popular game 2048.

Demo

See here a demo made with angular5 (aot build) click here

dependencies

hammerjs

Usages

First install the module,

npm i ngx2048 --save

then Import it import { Ng2048Module } from 'ngx-2048';

Then add to import section of your app

Then, just add the component where you want to display it.

<app-game-2048 [config]="config"></app-game-2048>

More on config later.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Thanks.. :)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial