Frame allocation for smart phone based games using clouds