complete the game option setting function