Have ideas to improve npm?Join in the discussion! »

    bp-space-invaders
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.2 • Public • Published

    Space Invaders

    A fun retro version in Angular 8 of the arcade classic "Space Invaders".

    How To Install

    npm install bp-space-invaders

    How To Use

    In your app.module.ts file.

    There is one variable:

    isDebug: <true|false> In Production this should be run as "false"

    The game will not work without these parameters

    import { BrowserModule } from '@angular/platform-browser';
    import { NgModule } from '@angular/core';
     
    import { AppComponent } from './app.component';
    import { SpaceInvadersModule } from 'bp-space-invaders';
     
    @NgModule({
      declarations: [AppComponent],
      imports: [
        BrowserModule,
        SpaceInvadersModule.forRoot({
          isDebug: false
        })
      ],
      bootstrap: [AppComponent]
    })
    export class AppModule {}}

    How To Display

    In your app.component.html file

    <bp-space-invaders></bp-space-invaders>

    Install

    npm i bp-space-invaders

    DownloadsWeekly Downloads

    2

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    3.76 MB

    Total Files

    230

    Last publish

    Collaborators

    • avatar