Back to browse
WebRTC P2P networking based Counter-Strike 1.6 on the web

WebRTC P2P networking based Counter-Strike 1.6 on the web

by possiblelion·Jun 18, 2026·2 points·0 comments

AI Analysis

●●●BangerWizardryRabbit Hole

Real GoldSrc .bsp parsing with WebRTC P2P multiplayer and no game server.

Strengths
  • From-scratch GoldSrc player movement reimplementation feels authentic.
  • WebRTC P2P networking eliminates server infrastructure entirely.
  • Authentic .bsp map parsing loads original CS 1.6 surf maps directly.
Weaknesses
  • Browser-based physics can't match native performance.
  • Niche surf community limits broader appeal.
Category
Target Audience

CS 1.6 surf community, web game enthusiasts

Similar To

PlayCS · Web-based game emulators

Post Description

just a fun hobby project to learn webrtc and p2p networking: loads a real goldsrc .bsp map file (the same format half-life and cs 1.6 used), parses it in javascript, rebuilds the geometry for webgl with three.js, and runs a from-scratch reimplementation of valve's player movement so the surf feels right. multiplayer is peer to peer over webrtc with no game server.

it uses trystero, which does webrtc peer to peer and uses public relays only to introduce peers to each other, no game server in the middle. everyone in the same room name shares a session, broadcasts their position about 20 times a second, and you see each other surf.

Similar Projects