/Spider-Task-2

Primary LanguageJavaScript

Space War

You are on a space exploration mission to find other life forms in the universe. Your spacecraft is sidetracked during the expedition, and you land on an alien planet Ampelos. The planet is home to a species called "Whitespikes" and now they are threatened by your presence. Design a Web Shooting Game using HTML and Canvas API depicting the above situational battle between your Spaceship and the Whitespikes.

Basic Mode:

  • Users should be able to move the spaceship in all four directions. The aliens will be moving in the right to left direction continuously. Once an alien collides with the spaceship, it is destroyed.
  • Create a scoreboard and be creative with the scoring system. Think how you can have different scoring based on the aliens shot. At the end of the game, both the game score and high score should be printed.
  • Have a timer system, such that the User is advanced to a higher level if the spaceship survives till a certain time. Be creative on how the different levels for the game will be.
  • Once the user crosses a certain level bonus points should be awarded.
  • Additional features may be implemented, and they will have bonus points.

Hacker Mode:

  • Have different categories of aliens in the game. The spawned aliens should be randomized in terms of categories.
  • Different aliens should require different amounts of bullet shots to be killed.
  • Have the feature for bonus powers for the spaceship once a certain score has been obtained on the scoreboard.
  • Think about how you can add bonuses or special levels to the game and how will be the scoring for such levels.

Additional Features:

  • Spaceship Health - Colliding with Enemies reduces your health. Collect Health Portions to increase your health.
  • Powerups - Diamonds to increase gun strength, Health Portions to increase the health of the spaceship, collectable coins.
  • Special Levels - Helps to boost your score, the aliens have thier own health bars.
  • Gun Strength - The number of bullets released from the gun at a time is decided by your gun strength. As the level increases, you'll bydefault get higher gun strength.
  • Info Button which brief about the game and all the Enemies and Powerups of the game.
  • Bonus points are shown to make the game look attractive.
  • Background Music and Sound Effects and the switch to mute or unmute them.
  • Responsive Game using media Queries.

Git:

  • Use git bash or command-line interface instead of git website for making commits.
  • Work on a new repository for the project.
  • Include meaningful commit messages for each commit made in the repository.
  • For the basic task work on the main branch.
  • Once done with the basic task, create a separate branch called hacker mode from the main branch and continue working on that branch.
  • Have a proper Readme consisting of the given sub-tasks as a checklist and update them accordingly.