You and your best friend have fallen into a dark-hole who transported you to somewhere in the confines of the universe. You have one task and one task only, "SURVIVE" avoid the rocks and get back home!!!
####There are 4 boards on the screen which will give you information of what is happening in the game.
- Right Board: It will contain the players information and statistic.
- Top Board: It will show space-shuttle information.
- Left Board: It will show description of the rock destroyed.
- Center Board: It will be where game takes place.
####Movement and fire of the space-shuttle
Right Arrow d
: To move right.
Left Arraw a
: To move left.
Space Bar f
: To fire gun.
####Each of the crew will take turns in controlling the space-shuttle.
- Fire the main gun of the shuttle.
- Destroy anything that gets in your way.
- Don't get hit by the rocks in space.
- Do as many points as you can by cracking rocks.
- Get back home safety.
JQuery, JavaScript, Html, Css
##Repository https://github.com/yannycastrillon/asteroid-game
##Problems
- Managing collision detection regarding each rock and the bullet.
- Managing performance and efficiency of the game when applying the animation of the bullet and the rocks.
- Managing dependencies and responsibilities of each object (Bullet, Rock, Shuttle and Game) and the interaction of messages between them.
- Organization of the code.
##New Features to Accomplish
- Create a welcome screen.
- Sound effects for the bullet and the rocks.
- Sound effect for the shuttle movement.
- Actual description of rock and dialogs between players.
- Shuttle damage calculation.
- Actual ending of the game.
- Refactor code DRY.