This is a simple 2D game where the player stays in the center and enemies come to attack him. The player can shoot at the enemies to destroy them, and when an enemy is destroyed, an explosion particle is created. The game is built using HTML, CSS, and pure JavaScript, and it can be played in any modern web browser even in smartphone.
To play the game, simply open the index.html
file in a web browser. The game will start automatically, and the player can use the arrow keys to move around and the spacebar to shoot at enemies. The goal of the game is to survive as long as possible and get the highest score possible by destroying enemies.
To install and run the game on your own machine, simply clone the repository or download the ZIP file and extract it to a directory of your choice. Then, open the index.html
file in a web browser, and the game will start automatically.
This game has no external dependencies, and it can be played on any modern web browser.
This project is licensed under the MIT License. See the LICENSE file for more details.