Skip to content

JustinPinner/astrowars

Repository files navigation

astrowars

Grandstand's 80s tabletop classic revisited

Built for (and to test) my EccentricEngine JS game engine

To get started, either clone the EccentricEngine repo OR install it from the npm package registry by running npm -i eccentric-engine

If you chose to clone the EccentricEngine repo instead of installing from npm, you'll need to make sure to comment out all the import { Something } from 'eccentric-engine/Engine'; statements (run a global search in your editor for from 'eccentric-engine/Engine') and change the relative path statements to match your local directory structure, e.g. import { Something } from '../your/path/to/EccentricEngine/src/engine/engine';

demo gif

Instructions

  • Space: Start
  • Left/Right Arrow keys: Should be obvs, but just in case... move left and right
  • Enter: Fire

Play a dev build here Warning: there will be bugs. Should work fine on desktop versions of Chrome, Firefox and Safari (needs a keyboard, see).

Versions

1.0.4

Add Windows compile.bat and setup notes

1.0.3

  • Bump to EccentricEngine 1.0.5

1.0.2

  • Uses updated (v1.0.3) EccentricEngine
  • Adds initial implementation of bonus phase gameplay
  • Added string padding for displaying score and bonus digits
  • Added game-over condition
  • Added engine debugging option - add a ?debug search parameter to the game URL to activate logging to your browser's dev console
  • Added game clocking mechanism - if you score over 99999 points you'll get extra lives
  • Removed some hardcoded strings for game phase checks
  • Added a playerObjects getter to AWEngine to simplify extracting player objects from EccentricEngine's gameObjects collection