LmCast :: Stay tuned in

Battlezone Online: BZFlag in the Browser

Recorded: Oct. 21, 2026, 8:51 a.m.

Original Summarized

GitHub - timriker/bzo: Battlezone Online: a free 3D multiplayer tank game in the browser (desktop, phone or VR) that plays with BZFlag clients and servers. · GitHub

Skip to content

Navigation MenuSign inAppearance settingsPlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesCode QualityEnforce quality at mergeAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricingSearch/Sign inSign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

timrikerbzoRepository navigationCodeIssues22 (22)Pull requestsActionsProjectsSecurity and qualityInsightsMore items

bzoPublicNotificationsYou must be signed in to change notification settingsFork2 (2)Star18 (18)You must be signed in to star a repositoryAboutBattlezone Online: a free 3D multiplayer tank game in the browser (desktop, phone or VR) that plays with BZFlag clients and servers.bz.rikers.orgTopicsbrowser-gamebzflaggamehttp2http3multiplayer-browser-gamemultiplayer-gamemultiplayer-online-gamenodejsopen-source-gametank-gamethreejsvrwebglwebrtcwebsocketwebtransportwebxrResourcesReadmeLicenseSecurity policySecurity policyActivityStars18 starsWatchers2 watchingForks2 forksReport repositorymainBranchesTagsGo to fileCodeOpen more actions menuLatest commit History989 Commits989 CommitsFolders and filesNameNameLast commit messageLast commit date.github.github  .husky.husky  docsdocs  mapsmaps  publicpublic  replaysreplays  scriptsscripts  serverserver  .dockerignore.dockerignore  .git-blame-ignore-revs.git-blame-ignore-revs  .gitignore.gitignore  .mdl-style.rb.mdl-style.rb  .mdlrc.mdlrc  AGENTS.mdAGENTS.md  CHANGELOG.mdCHANGELOG.md  CLAUDE.mdCLAUDE.md  DockerfileDockerfile  LICENSELICENSE  README.mdREADME.md  SECURITY.mdSECURITY.md  compose.ymlcompose.yml  eslint.config.cjseslint.config.cjs  example-server.jsonexample-server.json  nodemon.jsonnodemon.json  package-lock.jsonpackage-lock.json  package.jsonpackage.json  server.jsserver.js  View all filesRepository files navigationREADMELicenseSecurityMore itemsBattlezone Online
A free 3D multiplayer tank game in the browser -- on a desktop, a phone or a
VR headset -- that plays with BZFlag clients and
servers. Nothing to install.
Play now: https://bz.rikers.org ·
Servers ·
Help: controls and flags ·
BZFlag Discord

Try it
https://bz.rikers.org/list lists the public bzo servers, and the BZFlag
servers any of them proxies. Click a row to enter that game.
The server is Node.js; the client is Three.js, over WebSockets, WebTransport
and WebRTC.
Release contents
Each tagged release publishes:

a GitHub release with notes generated from CHANGELOG.md
a source tarball
a versioned Ubuntu 26.04 image at ghcr.io/timriker/bzo:<version>-ubuntu26.04
a moving ubuntu26.04 tag
ghcr.io/timriker/bzo:<version> and ghcr.io/timriker/bzo:latest, both
using Ubuntu 26.04

Every published image contains linux/amd64 and linux/arm64 variants. Release
tags use stable vX.Y.Z SemVer only; prerelease and build-metadata tags are not
published.
Docker images are built on Ubuntu 26.04 with Ubuntu's own nodejs package
(Node.js 22), and CI runs on the same Node in an Ubuntu 26.04 container.
Install and run a server
A Docker image from GitHub Container Registry, or a source tarball or git
checkout. Docker is the better install and update path for most people.
docs/installation.md covers both, plus configuration,
running behind a reverse proxy, listing your server, proxying BZFlag servers,
and updating.
A site that polls servers -- stats, a server browser -- finds what it can ask
in docs/api.md.
/list's Launch links open a BZFlag server in an installed BZFlag client;
docs/bzflag-links.md sets up bzflag:// on Linux,
Windows and macOS.
Flags
bzo carries every flag BZFlag has. WA Wide Angle spawns, sticks and shakes off
like any bad flag, but does nothing: it widens the field of view, and in VR the
headset owns the projection.
docs/flags.md has the rest, including why.
Changelog and release notes

Human-readable history is kept in CHANGELOG.md
Tagged GitHub releases use the matching changelog section as release notes

Controls
docs/controls.md has every control: the keyboard and
mouse, the on-screen touch controls, gamepads, and the XR controllers. In the
game, / or ? shows the keyboard's.
WebXR
The VR mode uses native WebXR and requires a browser and headset that support
immersive-vr. For local validation, open the game at http://localhost:5154.
For remote access, serve the game over https:// -- with the server's own
https certificate, or at a reverse proxy; the client automatically uses
wss:// for its WebSocket connection when the page is served over HTTPS.
A headset browser launching the installed app tries to enter VR with no 2D
landing page. xr-launch.js asks for the session before the rest of the client
loads, and keeps asking on each signal that could carry the user activation an
immersive session needs -- window load, focus, page show, visibility change, and
the Launch Handler -- with the renderer picking up whichever session results.
Where none of them lands, and everywhere else, VR Mode starts from the button.
A saved name joins immediately, and without one the XR menu opens on a Join
screen carrying the same name, team, and tank choices as the 2D entry dialog, so
nothing waits on a screen the player cannot see.
Typing in XR uses the headset's own system keyboard, raised when the Name or
MOTD row takes focus. Quest Browser 26.1 and later provide one; a headset that
does not marks those rows Desktop only, and the player can still join under the
name the server assigns. Each time the keyboard opens it starts a fresh edit, so
the first key replaces the whole field rather than appending to it.
The one-tap VR button beside the settings gear is shown only on a device with a
headset, because Chrome on Android reports immersive-vr support on any phone
through Cardboard; VR Mode stays in the Settings menu there.
If the deployment sets a restrictive Permissions-Policy header, allow
xr-spatial-tracking=(self). TLS is either the server's own (https, see
docs/installation.md) or a reverse proxy's
(docs/installation.md).
Use the WebXR validation checklist when checking a
new browser, headset, or deployment. WebGPU rendering is outside the scope of
this checklist.
Development checks
npm run check
This runs the syntax and lint checks, a server boot check, and the test
suites.
CI also runs these checks on pushes and pull requests.
Release process
Commit everything first, and leave nothing behind: a tag names a tree, so an
edit still sitting in the working directory when the tag goes out is not in the
release -- the version says one thing and the box says another, and nobody can
reproduce it from the tag. That includes work somebody else left uncommitted:
review it, say what it is, and commit it, rather than tagging around it. git status is clean before preparing a release and clean again once the tag is
pushed; anything still pending at the end means the release went out without it.
Release tags are stable vX.Y.Z SemVer only -- prereleases and build metadata
are not published.
Prepare a release locally:
npm run release:prepare -- 1.0.1
That updates:

package.json
package-lock.json
public/version.mjs
CHANGELOG.md

All four go in the release commit. public/version.mjs is the one easy to
leave behind, and a tag without it ships a client reporting the version before
it.
Then edit the new changelog section so it contains the real user-visible changes.
Validate locally:
npm run check
npm run release:check -- v1.0.1
npm run release:check:increment -- v1.0.1
Then commit, tag, and push:
git add package.json package-lock.json public/version.mjs CHANGELOG.md
git commit -m "Release v1.0.1 - short description. Closes #1"
git tag v1.0.1
git push
git push origin v1.0.1
The subject describes the release rather than labelling it: the version is
already in the tag, package.json and CHANGELOG.md, and git log --oneline
is the one view where the subject is all there is. Name the change in a few
words and reference the issue with a real closing keyword where the release
finishes it, since a bare (#NN) only links.
The release workflow will:

verify that the stable tag is newer than the previous release and points to main
install dependencies and run lint, validation, audit, and CodeQL checks
fail if package.json does not match the pushed tag
fail if CHANGELOG.md does not contain a matching
non-placeholder section
build and smoke-test Ubuntu 26.04 images with Ubuntu's Node.js 22 for
linux/amd64 and linux/arm64
promote the verified versioned and moving Docker tags to GHCR
publish a GitHub release and attach a source tarball

A release that fails its workflow is left alone. bzo is in development and
not every tag produces artifacts. Fix the cause and move to the next version --
do not delete or move a published tag, and do not backfill a GitHub release for
one that never built. CHANGELOG.md is the record either way, and
it already carries the section for the version that failed.
public/version.mjs is written by scripts/prepare-release.mjs and verified
against the tag by scripts/check-release.mjs. Do not edit it by hand, and do
not reintroduce a hardcoded client version string elsewhere.
Bundled assets and licensing
The code is AGPLv3. The assets are not all the same story.
bzo ships models, textures, sounds and maps from several places: some are the
BZFlag project's, used under its licence; some were made for bzo; some arrived
with a contribution. A file does not inherit the repository's licence by
sitting in it, and an asset whose origin nobody recorded is a question left for
whoever asks next.
What is expected of anything added here:

say where it came from, and under what terms, in the pull request
prefer terms compatible with AGPLv3 distribution
a header saying a file was exported by some tool is not a grant of anything,
and neither is a note that the author did not look into it

Not every asset already in the tree meets that bar. Some predate the
expectation and some arrived with a contribution that was worth taking on its
own merits, and the intent is to reach clear, recorded licensing for every one
of them rather than to pretend it is already done. If you know the provenance
of something here, or you are the author of it, please say so in an issue --
that is the cheapest way this gets finished.
Maps are the same question in a different shape: a map downloaded from a
server, or saved out by a client, carries no grant with it. See
docs/bzw.md for the map format itself.
AGPL source availability
This project is licensed under the GNU Affero General Public License v3.0.
Network users can access the source code from the running app via /source, or
directly at:

https://github.com/timriker/bzo

AboutBattlezone Online: a free 3D multiplayer tank game in the browser (desktop, phone or VR) that plays with BZFlag clients and servers.bz.rikers.orgTopicsbrowser-gamebzflaggamehttp2http3multiplayer-browser-gamemultiplayer-gamemultiplayer-online-gamenodejsopen-source-gametank-gamethreejsvrwebglwebrtcwebsocketwebtransportwebxrResourcesReadmeLicenseSecurity policySecurity policyActivityStars18 starsWatchers2 watchingForks2 forksReport repositoryReleasesPackagesUsed byContributorsLanguages

Footer

© 2026 GitHub, Inc.

Footer navigation

Terms

Privacy

Security

Status

Community

Docs

Contact

Manage cookies

Do not share my personal information

You can’t perform that action at this time.

The repository maintained by timriker presents Battlezone Online, a free 3D multiplayer tank game accessible across desktop, mobile, and virtual reality (VR) environments, integrating seamlessly with BZFlag clients and servers without requiring any installation. The project's README provides a comprehensive overview of its features, technical architecture, release management, development practices, and licensing considerations.

At its core, the game employs a Node.js-based server architecture, with the client rendered using Three.js. Communication between the server and client is facilitated through WebSockets, WebTransport, and WebRTC, enabling real-time multiplayer interactions. The client supports HTTP/2 and HTTP/3, and is compatible with various browsers and devices, including desktops, phones, and VR headsets that support WebXR. The server serves as a central hub, proxying BZFlag servers, and the client can list and connect to these servers via a dedicated interface, with detailed documentation on server polling, BZFlag link configuration, and flag definitions.

The project follows a rigorous release process, with tagged releases adhering strictly to semantic versioning (vX.Y.Z) only. Each tagged release includes a GitHub release note generated from CHANGELOG.md, a source tarball, and Docker images built on Ubuntu 26.04 with Node.js 22 for both linux/amd64 and linux/arm64 architectures. These images are published to the GitHub Container Registry under specific tags, including versioned tags and a moving latest tag. Release preparation involves updating package.json, package-lock.json, public/version.mjs, and CHANGELOG.md, followed by validation checks to ensure consistency. The release workflow automatically verifies that the new tag is newer than the previous one, installs dependencies, runs lint, validation, audit, and CodeQL checks, and builds and smoke-tests the Docker images. If any check fails, the release is not published, and the developer must fix issues before proceeding, emphasizing that the project is in active development and not all tags produce artifacts. The process also enforces strict guidelines for release integrity, such as maintaining a clean git status before and after tagging, and preventing uncommitted changes from entering releases, with scripts managing version files and release checks to discourage manual editing of version strings.

The VR mode leverages native WebXR, requiring browsers and headsets that support the immersive-vr feature. Local validation is performed by opening the game at http://localhost:5154. For remote access, the game is served over HTTPS with the server's own certificate or via a reverse proxy, with the client automatically using wss:// for WebSocket connections. The xr-launch.js module handles VR session initiation, repeatedly requesting user activation through signals such as window load, focus, page show, visibility change, and the Launch Handler, with the renderer handling the resulting session. If no session is established, VR Mode defaults to starting from a button, ensuring accessibility. Saved names are accepted immediately on join, and the XR menu opens on the Join screen with options matching the 2D entry dialog. Input on VR headsets uses the headset's system keyboard, which is raised when rows like Name or MOTD are focused. Support for this keyboard is available in Quest Browser 26.1 and later; otherwise, keyboard input is restricted to desktop. A one-tap VR button is displayed only on devices with a headset. Security is reinforced by allowing the xr-spatial-tracking permission via a Permissions-Policy header and relying on TLS for secure connections, with a validation checklist provided for checking browser, headset, and deployment compatibility, while WebGPU rendering remains outside the current scope.

Development checks are conducted via the command 'npm run check', which executes syntax and lint checks, a server boot check, and test suites. These checks are also run by Continuous Integration (CI) on every push and pull request, ensuring code quality and functionality are maintained throughout development. The repository's documentation includes detailed guides on installation, server configuration, reverse proxy setup, server listing, BZFlag server proxying, flags, controls, and API access for server polling, reflecting a commitment to user-friendliness and technical completeness.

Licensing is governed by the GNU Affero General Public License v3.0 (AGPLv3) for the source code, with network users able to access the source via a /source endpoint or the direct repository URL. However, the bundled assets have a more complex licensing landscape. The repository includes models, textures, sounds, and maps from various sources, including contributions from the BZFlag project, assets created specifically for bzo, and other contributions. It is clear that not all assets share the repository's license, and any asset without a recorded origin remains an unresolved issue. The project expects all additions to disclose their provenance and license terms in pull requests, preferring terms compatible with AGPLv3. Notes stating that an asset was exported by a tool do not constitute a license grant, and the intent is to achieve clear, recorded licensing for every asset rather than to assume it is already complete. Maps, which may be downloaded or saved, also carry no license grant, and the format is documented in docs/bzw.md. The repository's security policy and documentation emphasize the importance of transparency in asset and map provenance.

Overall, the repository provides a comprehensive, accessible, and community-oriented solution for playing Battlezone Online in a browser, with robust support for multi-platform and VR experiences. The AGPL source availability ensures that users can access the code and contribute to the project, while the detailed documentation and release process support both developers and end users. The project's emphasis on licensing transparency and rigorous release management underscores a commitment to quality, security, and user control.