# Rock and Rollback: Realtime multiplayer in the browser, with rust and bevy

DevFeed: [Rock and Rollback: Realtime multiplayer in the browser, with rust and bevy](<https://devfeed.tech/articles/rock-and-rollback-realtime-multiplayer-in-the-browser-with-rust-and-bevy-25823.md>)

Original publisher: [Read original article](<https://www.metabrew.com/article/rock-and-rollback-realtime-multiplayer-games-with-bevy>)

Author: {"image"=\>"rj-headshot.jpg", "greetings"=\>nil}

Published: 2024-12-08T06:00:00Z

Content type: tutorial

Language: en

Sources: [Richard Jones](<https://devfeed.tech/sources/richard-jones.md>)

Topics: [browser](<https://devfeed.tech/topics/browser.md>), [browser-game](<https://devfeed.tech/topics/browser-game.md>), [realtime](<https://devfeed.tech/topics/realtime.md>), [Bevy](<https://devfeed.tech/topics/bevy.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [QUIC](<https://devfeed.tech/topics/quic.md>), [WebRTC](<https://devfeed.tech/topics/webrtc.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [bevy](<https://devfeed.tech/tags/bevy.md>), [bevygap](<https://devfeed.tech/tags/bevygap.md>), [browser](<https://devfeed.tech/tags/browser.md>), [gamedev](<https://devfeed.tech/tags/gamedev.md>), [http-3](<https://devfeed.tech/tags/http-3.md>), [multiplayer](<https://devfeed.tech/tags/multiplayer.md>), [netcode](<https://devfeed.tech/tags/netcode.md>), [quic](<https://devfeed.tech/tags/quic.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [rust](<https://devfeed.tech/tags/rust.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [udp](<https://devfeed.tech/tags/udp.md>), [webrtc](<https://devfeed.tech/tags/webrtc.md>)

## AI overview

This article discusses building a realtime multiplayer browser game with Rust and Bevy. It explains why TCP can delay updates, considers WebRTC and WebTransport over HTTP/3 and QUIC for unreliable data channels, and introduces snapshot interpolation as a multiplayer networking model.

## Source excerpt

How hard it is to build a realtime multiplayer browser game? Like asteroids, but multiplayer. Retro vibes with modern netcode 🚀.