Implement cpu turn (Incomplete)