Implement cpu turn (incomplete)