Skip to content
Articles
Article

Turn-based multiplayer that survives bad networks: the state model I use in Flutter

by Youngjun Yoon dev.to

3 min read

I ship a turn-based artillery game — one player shoots, the other waits, then they swap. Turn-based sounds like the easy version of multiplayer. It is not; it just moves the difficulty from frame timing to state. Here is the model I ended up with after shipping to Android and iOS, with a small player base on mobile networks that drop constantly. It is not clever. It is boring on purpose. 1. Sync …

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by