A lightweight online game framework