Move client plays to a separate file