BetterFront is a community-maintained fork of OpenFront — an online real-time strategy game focused on territorial control and alliance building. This fork focuses on UX improvements and rapid gameplay iteration while preserving the original deterministic, client/worker architecture.
Forked from OpenFrontIO (openfrontio/OpenFrontIO). All credit to the original authors. See licenses below.
- Maintain Troop Amount: A toggle that keeps your requested attack troop amount topped up automatically during an ongoing attack.
- Reserve Troops (UI only for now): A slider to set an absolute reserve amount of troops you want to keep at home base (behavior to be wired soon). The slider displays an absolute number and visually updates relative to your current total.
- Small UI/UX fixes and quality-of-life improvements.
/src/client– Frontend game client (Lit / Webpack)/src/core– Shared deterministic game logic (workers, schemas, executions)/src/server– Backend cluster (master/workers, REST + WebSocket)/resources– Static assets (images, maps, sprites, sounds, fonts, etc.)
- Node.js and npm (npm v10+ recommended)
- A modern browser (Chrome, Firefox, Edge, etc.)
git clone <this-repo-url>
cd BetterFront
npm cinpm run devThis starts:
- Web client with hot reload on http://localhost:9000
- Backend master on http://localhost:3000 and worker processes on 3001+
- Client only:
npm run start:client - Server only (dev):
npm run start:server-dev
PRs are welcome. Please keep edits focused and include screenshots for UI changes where helpful.
BetterFront maintains the same licensing model as the upstream project.
- Source code: GNU Affero General Public License v3.0. See LICENSE.
- Additional attribution terms from upstream apply. Forks and derivative works must display attribution (for example: “Forked from OpenFront”).
- Assets: CC BY-SA 4.0. See LICENSE-ASSETS.
- License history: LICENSING.md.
Acknowledgements: This project is a fork of OpenFront by the OpenFrontIO community. Thank you for building a great foundation.