protected override async Task ComputerTurnAsync() { if (SaveRoot !.GameStatus == EnumStatusList.ChooseGameType) { return; //hopefully this simple. } if (Test !.NoAnimations == false) { await Delay !.DelaySeconds(.75); } if (SaveRoot.GameStatus == EnumStatusList.Bidding) { int bids = ComputerAI.HowManyToBid(_model); _model !.BidChosen = bids; await _bidProcesses.ProcessBidAsync(); return; } if (SaveRoot.GameStatus == EnumStatusList.CallShape) { await _shapeProcesses.ShapeChosenAsync(ComputerAI.GetShapeChosen()); return; } await PlayCardAsync(ComputerAI.CardToPlay(this)); }
public async Task BidAsync() { if (_gameContainer.BasicData.MultiPlayer) { await _gameContainer.Network !.SendAllAsync("bid", _model.BidChosen); } await _processes.ProcessBidAsync(); }
public async Task BidAsync() { await _processes.ProcessBidAsync(); }