Skip to content

mariovyord/cosmic-invaders

Repository files navigation

Cosmic Invaders

Cosmic Invaders is a Space Invaders inspired game made with vanilla JavaScript and the Canvas API. The only library used is ESLint for linting. This project is a simple game created to exercise and improve my JavaScript skills.

Demo

You can play the game here.

Features

  • Classic Space Invaders gameplay
  • Simple codebase
  • Made with vanilla JavaScript and Canvas API
  • ESLint for code linting

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/cosmic-invaders.git
  2. Navigate to the project directory:
    cd cosmic-invaders
  3. Open index.html in your browser to play the game.

Usage

Use the arrow keys to move the player left and right. Press the spacebar to shoot.

Development

To lint the code, run:

npm run lint

About

Cosmic Invaders | Canvas API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published