Skip to content

Commit

Permalink
Merge pull request #11 from JustinPinner/bonus-phase
Browse files Browse the repository at this point in the history
1.0.2
  • Loading branch information
JustinPinner authored Oct 6, 2019
2 parents f062d70 + 9ccc653 commit e332b12
Show file tree
Hide file tree
Showing 13 changed files with 843 additions and 562 deletions.
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,32 @@ Grandstand's 80s tabletop classic revisited

Built for (and to test) my [EccentricEngine](https://github.com/JustinPinner/EccentricEngine) JS game engine

![Alt Text](https://github.com/JustinPinner/astrowars/blob/master/AstroWars3.gif)

To get started, either clone the [EccentricEngine repo](https://github.com/JustinPinner/EccentricEngine) OR install it from the npm package registry by running `npm -i eccentric-engine`

If you chose to clone the [EccentricEngine repo](https://github.com/JustinPinner/EccentricEngine) 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';`

<img src="https://github.com/JustinPinner/astrowars/blob/master/AstroWars3.gif" alt="demo gif" width="340px"/>

[Play a dev build here](https://justinpinner.github.io/astrowars/default.html) **Warning:** there will be bugs
## Instructions

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](https://justinpinner.github.io/astrowars/default.html) **Warning:** there will be bugs

## Versions

1.0.2
=====
* Uses updated (v1.0.3) [EccentricEngine](https://github.com/JustinPinner/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
Loading

0 comments on commit e332b12

Please sign in to comment.