Server and client sides for mobile games