/space-invader

Primary LanguageJavaScriptMIT LicenseMIT

A traditional canvas-based game.

Demo

Alt Text

๐Ÿ“š Table of contents

๐Ÿ›  Technical stack

  • Programming language(s): HTML, CSS, JavaScript

๐Ÿš€ Features

  • The user can move their character with the arrow keys.
  • The game ends when the user defeated all monster or time out. The total time elapsed is displayed upon game completion, in seconds.
  • The user sees a few different types of monster all at once.
  • The monsters can shoot their bullets, and the user must avoid them to survive.
  • The user can hear sound effects upon movement, upon catching a monster, and chaning game states.
  • The user hears background music during the game.
  • The user can see their scores and all settings in a table after each game

โฌ‡ Installation

  • This is is written in plain files of HTML, CSS, and JS.

๐Ÿงฉ Challenges

  • Implement correctly collision detections for hero, monsters, and their bullets.
  • Make sure that every interaction between user and program is consistent and has no lags
  • As the game becomes more complicated and codes become long, every change needs to be careful and thoughtful.

๐Ÿ“„ License

Space Invader is MIT licensed.