Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silent1mezzo/nerf-jungle-extravaganza
G Adventure's Week 2 Game Challenge
https://github.com/silent1mezzo/nerf-jungle-extravaganza
Last synced: 26 days ago
JSON representation
G Adventure's Week 2 Game Challenge
- Host: GitHub
- URL: https://github.com/silent1mezzo/nerf-jungle-extravaganza
- Owner: silent1mezzo
- Created: 2013-07-14T20:05:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-19T19:37:30.000Z (over 11 years ago)
- Last Synced: 2024-11-09T09:49:07.709Z (3 months ago)
- Language: JavaScript
- Size: 1.89 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nerf Jungle Extravaganza
Kill All The Raptors
## Development
During development, an error will be thrown because `dist/game.js` doesn't exist
However, we check to see if it is loaded and use the dojo loader if it isn't
We also note in the console that is happening
During development, work in the `src/` directory and make small modules
You can start a development server with linting and auto-reload using the `grunt` command in your terminal, which will open your default browser to 0.0.0.0:8000
Your browser will auto-reload when you make changes to files
## Building
Once you are ready to deploy your project, you can build with the `grunt build` command
This command will crawl your dependency tree, starting with `src/game.js` and build a single file `dist/game.js.uncompressed.js`
It will also minify your file with Google Closure Compiler into `dist/game.js`
You shouldn't have to make any changes to your `index.html` for this file to start working
## Removing Build and/or Dependencies
You can remove the files generated by the `grunt dojo` (`dist/` and `libs/`) by running `grunt clean:dist`
You can remove `deps/` and `node_modules/` by running `grunt clean:deps`
You can remove `dist/`, `libs/`, `deps/`, and `node_modules/` by running `grunt clean:all`