WarFront.io is a real-time strategy game that is played in the browser. Still early in development.
You can find the game at warfront.io. Development builds can be found at dev.warfront.io.
The project is fully open-source and contributions are very welcome. Exact details on how to contribute can be found in the CONTRIBUTING.md file.
To build the project, you will need to have Node.js (>= 20) and npm installed. You can download them from here.
First, clone the repository:
git clone https://github.com/WarFrontIO/client.git warfront-client
cd warfront-client
Before building the project, you will need to install the dependencies. You can do this by running the following command in the project directory:
git submodule update --init --recursive
npm ci
npm run prebuild
You might need to rerun these commands if you update the repository.
To develop the project locally, you can run the following command:
npm run dev
This will start a development server on http://localhost:8080/
that will automatically reload when you make changes to
the code. Note that internal servers of IDEs like WebStorm do not work correctly with this project.
For a production build, you can run the following command:
npm run build-prod