Extracted method

Extracted method MakeMove and removed switch in ExecuteCommand