fp-core

0.0.10 • Public • Published

Fierce-Planet

A basic tower strategy game designed to teach children (and adults) about sustainability. Uses a simple agent framework for modelling citizens surviving in their environment. Built on node and Express. Further information is available at the Fierce-Planet blog

Installation

Check out from GitHub, and install dependencies

$ npm install

Then set the MongoDB connection in app.js, and run:

$ node app.js

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ npm install -g express
$ express /tmp/foo && cd /tmp/foo

Install dependencies:

$ npm install -d

Start the server:

$ node app.js

Contributors

The following are the major contributors of Fierce Planet (in no specific order).

More Information

Node Compatibility

Fierce Planet 0.1.x is compatible with node 0.6.x.

Running Tests

Fierce Planet uses to Jasmine for test coverage.

To run tests in Jasmine Node (from the command line):

$ npm install jasmine-node
$ node_modules/jasmine-node/bin/jasmine-node spec

To run tests in Jasmine Runner (from the browser), first get the slightly modifed version from:

$ cd node_modules
$ git clone git://github.com/doclm/jasmine-tool.git

(The modifications allow multiple files to be loaded as sources). Then run:

$ cd ..
$ node_modules/jasmine-runner/bin/jasmine run

And direct the browser to http://localhost:8124/.

Preparing for deployment

Fierce-Planet uses a lot of JavaScript files. Though it hasn't been thoroughly optimised, a Jake script :

$ node_modules/jasmine-runner/bin/jasmine run

License

(The MIT License)

Copyright (c) 2011 Liam Magee <liam.magee@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i fp-core

Weekly Downloads

9

Version

0.0.10

License

none

Last publish

Collaborators

  • liammagee