Skip to content

RednasN/HTML5-Tower-Defense

Repository files navigation

HTML5 Tower Defense

A classic tower defense game, currently it's a very minimal game. It works best on mobile environments or touch enabled emulation environments (e.g. Google Chrome developer mode supports this). A live demo can be found here: live demo.

Setup locally

  1. Install Node.js and npm
    If you don't have Node.js installed, download and install it from the official Node.js website. This will also install npm (Node Package Manager), which is required for managing project dependencies.

  2. Clone the repository
    Clone this project repository to your local machine using Git or download it directly as a ZIP file and extract it.

    git clone https://github.com/rednasn/HTML5-Tower-Defense.git
    cd HTML5-Tower-Defense``
    
  3. Install dependencies
    Use npm to install the necessary dependencies for the project:
    npm install

  4. Run the development server
    This project uses Vite as the development server. Start the server using the following command:
    npm run dev

  5. Access the local server
    Once the server is running, Vite will provide a local development URL. Typically, it will look like this:
    http://localhost:5173/HTML5-Tower-Defense/

    Open this URL in your web browser to view the project.

Work in progress

  • Developing more projectiles, weapons, enemies and explosions.
  • More levels
    • Level designer
  • Developing waves of enemies

Releases

No releases published

Packages

No packages published

Languages