Integrating peer-to-peer and cloud computing for massively multiuser online games