feat(m5): client-server sync, offline queue and replay playback

This commit is contained in:
2026-10-24 23:37:13 +02:00
parent 4a9031b29c
commit 33bdc16fbd
22 changed files with 1419 additions and 184 deletions
+14
View File
@@ -120,6 +120,20 @@ class FakeMatch extends MatchSource {
@override
int tick(int ticks) => 0;
@override
int stateHash() => _hash;
final int _hash = 1;
@override
String replayJson() =>
'{"v":1,"sim_version":"0.1.0","content_hash":"fnv1a:test","seed":1,'
'"mode":"hotseat","players":[],"commands":[],"final_hash":1,'
'"duration_ticks":0}';
@override
bool get isPlayback => false;
@override
void dispose() {}
}