This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The Bug: | |
* We told Phaser to create 30 explosions, which isn't enough. There are two game conditions: either | |
* all 30 invaders are destroyed, or the player is hit 3 times. If the player destroys 29 invaders, | |
* there is only 1 explosion left in the collection. If the player is hit, that leaves 0. If the | |
* player is hit again, the game freezes. | |
* | |
* How to Reproduce: | |
* - Start the game. | |
* - Kill 29 alien invaders. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Standard AngularjS bootstrap code. | |
*/ | |
var app = angular.module('remote-partials-views', | |
['ui.router', | |
'ngResource', | |
'ngSanitize']); | |
/* | |
* AngularJS is good enough to come with a whitelist for resource URLs. It just |