Protocol으로 반복되는 코드를 개선해 봅시다.extension 활용예시ex) protocol 코드protocol GameProcess: AnyObject { func start() func end()}extension GameProcess { func start() { print("Start Game") } func end() { print("End Game") }}먼저 프로토콜을 사용해서 기능을 정의합니다.그리고 extension으로 기능에 대한 상세 구현 합니다.수정사항 xex) 예시코드 1class WarGame: GameProcess { func go() { start() }}let warGame = Wa..