0.0.4 • Published 7 years ago

ngtris v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

ngtris

Angular Tetris game

Installation

To install this library, run:

$ npm install ngtris --save

Usage

from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { NGTrisModule } from 'ngtris';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NGTrisModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
<!-- You can now use your library component in app.component.html -->
<ng-tris></ng-tris>

Control

Left, Right and Up arrow

License

MIT © liuy97

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago