Wondering what’s next for npm?Check out our public roadmap! »

    bp-prism-game
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.4 • Public • Published

    Prism

    This is a fun "alien creep" game in angular 8.

    How To Install

    npm install bp-prism-game

    How To Import

    In your app.module.ts file.

    There are two variables:

    isDebug: <true|false> In Production this should be run as "false" addExtraScenery: <true|false> If true, the game will add extra scenery to fill in paths

    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 { PrismModule } from 'bp-prism-game';
    import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
     
    @NgModule({
      declarations: [AppComponent],
      imports: [
        BrowserModule,
        BrowserAnimationsModule,
        PrismModule.forRoot({
          isDebug: false,
          addExtraScenery: true
        } as any)
      ],
      bootstrap: [AppComponent]
    })
    export class AppModule {}

    How To Display

    In your app.component.html file

    <bp-prism-game></bp-prism-game>

    Install

    npm i bp-prism-game

    DownloadsWeekly Downloads

    7

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    6.41 MB

    Total Files

    443

    Last publish

    Collaborators

    • avatar