An open API service indexing awesome lists of open source software.

https://github.com/gadiim/space_blast

A fast-paced 2D space shooter.
https://github.com/gadiim/space_blast

canvas-game game-2d javascript-game javascript-vanilla retrogaming

Last synced: about 2 months ago
JSON representation

A fast-paced 2D space shooter.

Awesome Lists containing this project

README

        

# Space Blast

Space Blast is a game created using HTML5 Canvas and JavaScript.
The goal of the game is to control a spaceship, dodge comets, and destroy asteroids.
The game is designed with attention to dynamic gameplay and smooth animation.

## Screenshot

![Space Blast Screenshot](assets/screenshots/space_blast_screenshot_dark.png)
![Space Blast Screenshot](assets/screenshots/space_blast_screenshot_light.png)

## System Requirements

- A browser with HTML5 support (Chrome, Firefox, Edge, Safari)
- JavaScript enabled
- For development: Node.js and npm (if used).

## Installation

### 1. Cloning the Repository

Clone the repository to your computer using Git:

```bash
git clone https://github.com/gadiim/Space_Blast.git
```

### 2. Running the Project
Simply open the index.html file in your browser to start the game. If you are using a development server, start it with npm:

```bash
npm start
```

### Usage
- **Controlling the Ship**: Use the arrow keys to move and the space bar to shoot.
- **Objective of the Game**: Avoid comets and destroy asteroids to score points.
- **Features**: The game supports saving the highest score in local storage.

### Project Structure
- `index.html`: The main HTML file.
- `style.css`: Styles for the game.
- `game.js`: The main JavaScript file for game logic.
- `assets/`: Folder with resources (images, sounds).

### License
This project is licensed under the MIT License. For more information, see the [LICENSE](LICENSE) file.

### Authors
- **gadiim** - Game Developer

//UA///////////////////////////////////////////////////////////////////////////////////////////////////////

Space Blast - це гра, створена з використанням HTML5 Canvas та JavaScript.
Мета гри - управляти космічним кораблем, ухилятися від комет і знищувати астероїди.
Гра розроблена з увагою до динамічного геймплею та плавної анімації.

## Скриншот гри

![Space Blast Screenshot](assets/screenshots/space_blast_screenshot_dark.png)
![Space Blast Screenshot](assets/screenshots/space_blast_screenshot_light.png)

## Вимоги до системи

- Браузер з підтримкою HTML5 (Chrome, Firefox, Edge, Safari)
- JavaScript увімкнено
- Для розробки: Node.js та npm (якщо використовується).

## Встановлення

### 1. Клонування репозиторію

Клонуйте репозиторій на свій комп'ютер за допомогою Git:

```bash
git clone https://github.com/gadiim/Space_Blast.git
```

### 2. Запуск проєкту
Просто відкрийте файл `index.html` у вашому браузері для запуску гри. Якщо використовується сервер для розробки, запустіть його через npm:

```bash
npm start
```

### Використання
- **Керування кораблем**: Використовуйте клавіші зі стрілками для переміщення та пробіл для стрільби.
- **Мета гри**: Уникати комет і знищувати астероїди, набираючи очки.
- **Особливості**: Гра підтримує збереження найкращого результату в локальному сховищі.

### Структура проєкту
- `index.html`: Основний HTML-файл.
- `style.css`: Стилі для гри.
- `game.js`: Основний файл JavaScript для логіки гри.
- `assets/`: Папка з ресурсами (зображення, звуки).

### Ліцензія
Цей проєкт ліцензований за ліцензією MIT. Для отримання додаткової інформації перегляньте файл [LICENSE](LICENSE).

### Автори
- **gadiim** - Розробник гри