Skip to content

Strained/asteroids-1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids 1.0

Description

This project is a web-based and docker-hosted version of the iconic "Asteroids" arcade game. It features smooth graphics, particle effects, and responsive controls, all rendered in a browser using HTML5 Canvas and JavaScript hosted in docker.

Purpose

This project was created as a learning exercise to gain a better understanding of the JavaScript language and the DOM. It also provides a fun and interactive way to play and share the game online. The game was also a great way to experiment with containerization and hosting in Docker.

Features

  • Classic "Asteroids" gameplay
  • Smooth vector graphics
  • Particle effects for explosions and thrust
  • Responsive keyboard controls
  • Scalable difficulty as the game progresses

Installation

  1. Clone the repository
  2. Navigate to the project directory
  3. Run npm install to install dependencies

Usage

To start the game server:

node src/app.js

Then open your browser and navigate to http://localhost:3000.

Controls

  • Arrow keys or WASD to move the ship
  • Spacebar to shoot
  • B to toggle big bullets

Technologies Used

  • JavaScript
  • HTML5 Canvas
  • Node.js
  • Express.js
  • Docker

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published