A game engine for games with a p2p style of managing online state