ngtris

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i ngtris

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • yongliu