Forked from perscolas-rtt-se/Space_Battle_starter_code
https://hgarciasoftware.github.io/space-battle/
-
about
requestAnimationFrame()
andrequestIdleCallback()
-
safari, among other modern web browsers, does not currently support the screen orientation api
- as such, we should strive to make user experiences consistent across all platforms
-
waiting to call
alert()
orprompt()
until after a reflow/repaint is tricky
-
classes in js
-
the model-view-controller pattern
-
adding new features, such as:
-
animations
-
difficulty by:
-
allowing enemies to attack together
-
including a boss ship
-
making enemies stronger after each battle
-
-
more sprites
-
perks, including:
-
medals
-
missiles
-
shields
-
-
-
allowing the user to target any enemy
-
initiating the battle with a random number of enemies, as opposed to just 6
-
prompting the user if they'd like to play again