_.o0 Raging Gardens 0o._
==========================

HTML5/Javascript web browser game. Entry and an [Honorable Mention](https://github.com/blog/1337-github-game-off-winners) to GitHub [game-off-2012](https://github.com/github/game-off-2012) challenge.
It's a lovely day at farmers field. A great time for a hungry (ninja) rabbit to sneak in and **pull** some carrots to eat.
Too bad you weren't the only one with that idea. A horde of hungry opponents approaches fast! Pull as many carrots
as you can in **3 minutes**. To fight your opponents, you must use ancient *rabbitjutsu* tactics. These are slightly unorthodox.
Simply uhm ... fart to **push** your opponents away or use a **Carrot-on-a-Fork** totem decoy to deceive them.

# Controls
Collect as many carrots as possible in **3 minutes**. Use the controls to move and repel opponents.
* **Arrow keys** - Move your ninja rabbit on the map.
* **Z (or Y)** - Hold down to pull a carrot from the ground. You need to be close to a carrot.
* **Q** - Eat **1 carrot** to fart to push nearby opponents away from you.
* **W** - Eat **2 carrots** to spawn a "Carrot-on-a-Fork" totem that attracts opponents and gives you time to pull more carrots elsewhere on the map. The totem is spawned on your current position.
# Supported Browsers
| Browser |
Supported |
Tested Versions |
| Google Chrome |
Yes |
23.0; 24.0 |
| Firefox |
Yes |
17.0; 18.02 |
| Safari |
Yes* |
5.1.7 |
| IE |
Yes* |
10.0 |
_*Game sound is currently (and sadly) not working under IE & Safari browsers!_
# Open Source Libraries
Raging Gardens uses the following javascript libraries:
* [Crafty](http://craftyjs.com/) - An amazing Javascript/HTML5 Game engine.
* [jQuery](http://jquery.com/) - The Write Less, Do More, JavaScript Library
* [Backbone.js](http://backbonejs.org/) - Provides model abstractions.
* [Require.js](http://requirejs.org/) - RequireJS is a JavaScript file and module loader.
* [Modernizr](http://modernizr.com/) - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
* [javascript-astar](https://github.com/bgrins/javascript-astar) - An implementation of the A* Search Algorithm in JavaScript.
* [Cloud9](https://c9.io) - Entire game was developed using this IDE. ...and I love it :)
# License
The game **without game art** is under [MIT License](http://opensource.org/licenses/MIT).
Read the [LICNESE](https://github.com/petarov/game-off-2012/blob/master/LICENSE) file for more info.
# Credits
## Game Art
Game art and graphics are exclusively created for _Raging Gardens_ by [Stremena Tuzsuzova](http://www.stremena.com).
## Sound and Music
Music score:
* [trouble-in-the-garden](http://opengameart.org/content/trouble-in-the-garden) by HaelDB
Using sounds authored by:
* http://freesound.org/people/skinhat/sounds/20324/
* http://freesound.org/people/Walter_Odington/sounds/26793/
* http://freesound.org/people/thanvannispen/sounds/9430/
* http://freesound.org/people/HerbertBoland/sounds/33369/
* http://freesound.org/people/Erdie/sounds/44261/
* http://freesound.org/people/annannienann/sounds/8067/
* http://freesound.org/people/Syna-Max/sounds/39417/
* http://freesound.org/people/HardPCM/sounds/32744/
* http://freesound.org/people/djgriffin/sounds/21209/
In order to suit the in-game atmosphere, I have edited almost all of the samples with [Audacity](http://audacity.sourceforge.net/).