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. 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 Try it a GitHub release with notes generated from CHANGELOG.md Every published image contains linux/amd64 and linux/arm64 variants. Release Human-readable history is kept in CHANGELOG.md Controls package.json All four go in the release commit. public/version.mjs is the one easy to verify that the stable tag is newer than the previous release and points to main A release that fails its workflow is left alone. bzo is in development and say where it came from, and under what terms, in the pull request Not every asset already in the tree meets that bar. Some predate the 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. |