weopqrst/moonroll/session does not have a README file
pub(open) trait Sim {
fn save(Self) -> Bytes
fn restore(Self, Bytes) -> Unit
fn step(Self, UInt64, UInt64) -> Unit
fn hash(Self) -> UInt64
}pub struct Session[T] {
sim : T
local_id : Int
window : Int
frame : Int
confirmed : Int
rollbacks : Int
p0 : InputRing
p1 : InputRing
snaps : SnapshotRing
}Install
Download zipSans-IO deterministic rollback netcode for MoonBit: input ring buffer, prediction, rollback re-simulation, state checksums, Q16.16 fixed-point math.