

GitHub - Barqawiz/space-invaders-js: Space Invaders classic arcade game using ja...
source link: https://github.com/Barqawiz/space-invaders-js
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

space-invaders
Space Invaders is a classic arcade game where the player controls a spaceship and shoots down enemy aliens. This simple game is developed using the p5.js library and is open source.
Installation
Use http-server or any other server to run the javascript game.
- Use npm to install the server.
npm install -g http-server
- Run the server.
cd directory/
http-server
- Access the game through your web browser at:
http://localhost:8080
.
Controls
- Use the arrow keys to move the spaceship left and right.
- Press the spacebar to shoot.
Examples
The following website used the open-source code to build a custom space invaders:
You can add your own game link to this section if you have used this code in your project.
Contribution
The game icons from Flaticon free resources.
License
Copyright 2023 barqawiz
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Recommend
-
79
The earliest memory I had of arcade video games was watching my older brother and cousins going at the video game machines at Genting Highlands. While our parents were at the other types of games Genting Highlands was more popularly known for, w...
-
102
invaders - Space Invaders in Go
-
55
In this series of posts, I am going to create a clone of the classic arcade game, space invaders , in C++ using only a few dependencies. In this last post of the...
-
40
Ph...
-
19
si78c is a memory accurate reimplementation of the 1978 arcade game Space Invaders in C. It requires the original arcade ROM to function to load various sprites a...
-
17
Mikael Agren patched the original ROMs to add a high-score table . Check out his project blog and demo movie.
-
8
Train Invaders Jupyter Notebook + Space Invaders!? Why? • Getting s...
-
11
IntelliJava-OpenaiAPI IntelliJava V0.6.0 IntelliJava is the ultimate tool for Java developers looking to integrate with the latest language models and deep learning frameworks. The library provides a simple and intuitive A...
-
8
-
4
The Space Invaders AR game now lets you play without using AR / Space Invaders: World Defense has a new indoor mode.By Jay...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK