https://github.com/mjzilver/towerdefence
Browser-based tower defence game.
https://github.com/mjzilver/towerdefence
Last synced: 3 months ago
JSON representation
Browser-based tower defence game.
- Host: GitHub
- URL: https://github.com/mjzilver/towerdefence
- Owner: mjzilver
- Created: 2024-07-21T15:34:08.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-01-02T21:27:50.000Z (5 months ago)
- Last Synced: 2025-01-02T22:26:37.442Z (5 months ago)
- Language: JavaScript
- Homepage: https://mjzilver.github.io/TowerDefence/
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Tower Defense Game
This is a Tower Defense game built with HTML5 and JavaScript.## How to Play
- **Click** to place walls.
- **Control + Click** to place towers.
- **Control + Click** to upgrade towers.
- **Shift + Click** to delete towers.
- Enemies spawn on the edges.
- Protect your base from the enemies.
- If an enemy reaches your base, you lose health.
- If your health reaches 0, you lose the game.## How to run
1. Clone the repository.
2. npx http-server