Crossplatform game framework