Skip to content

ferni/SpaceRunner

Repository files navigation

Space Runner

Turn based space action game.

About this project

This project was developed by Fernando Tiberti fertiberti@gmail.com under contract by Tim 'mithro' Ansell mithro@mithis.com, the project was never completed due to a lack of funds and was thus open sourced.

Screenshots

Choose Ship Type

![Choose Ship Type](screenshots/Space Runner - Choose ship type.png)

Ship Builder

![Ship Builder](screenshots/Space Runner - Ship builder.png)

Melee Combat

![Melee Combat](screenshots/Space Runner - Melee combat.png)

Fire at the Enemy

![Fire at the Enemy](screenshots/Space Runner - Taking damage.png)

How to run it

To launch the application simply type ant run in the command line.

The first time, this command will automatically download PhantomJS, NodeJS, and Redis to the tools folder. Then it will start the NodeJS and Redis servers, start the app, and open http://localhost:3000 in your default browser.

To try the multiplayer you may open http://localhost:3000 in two different browsers sessions (not a different tab, but a different session like incognito mode or a different browser altogether).

Running tests

To view a report for the tests that work without the server type ant report. For the rest of the tests, run the app with ant run and open http://localhost:3000/test.html.

You need to have jscoverage installed. To do this type:

sudo apt-get install jscoverage

Checking the lint

To check the lint type ant lint. It will automatically download JSLint to check the lint, as well as the correct headers.

The following are the JSLint options set to true:
  • browser: Predefine the standard global properties that are supplied by web browsers, such as document and addEventListener.
  • devel: Predefine globals that are useful in development but that should be avoided in production, such as console and alert.
  • node: true if Node.js globals should be predefined.
  • nomen: true if names should not be checked for initial or trailing underbars.
  • white: allows for "function" and "()" to not be separated by a space.
  • plusplus: true if ++ and -- should be allowed.

License

The code in this game is released under the GPLv3 license.

The artwork is released under the CC-BY-SA 4.0 International license.

About

Turn based space action game.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published