Skip to content

r0k3tkutt3r/BetterFront

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,642 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFrontIO Logo

BetterFront

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.

What’s new in BetterFront

  • 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.

Project structure

  • /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.)

Getting started

Prerequisites

  • Node.js and npm (npm v10+ recommended)
  • A modern browser (Chrome, Firefox, Edge, etc.)

Install

git clone <this-repo-url>
cd BetterFront
npm ci

Run (development)

npm run dev

This starts:

Other scripts

  • Client only: npm run start:client
  • Server only (dev): npm run start:server-dev

Contributing

PRs are welcome. Please keep edits focused and include screenshots for UI changes where helpful.

License

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.

About

Online browser-based RTS game (Modified from OpenFrontIO)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 92.7%
  • HTML 2.6%
  • CSS 1.6%
  • Shell 1.2%
  • Go 1.2%
  • JavaScript 0.5%
  • Dockerfile 0.2%