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

0.3.7 • 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>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.7
    0
    • latest

Version History

Package Sidebar

Install

npm i bp-prism-game

Weekly Downloads

0

Version

0.3.7

License

MIT

Unpacked Size

3.2 MB

Total Files

295

Last publish

Collaborators

  • cedarsith