public void SelectSpace(SpaceInfoCP space) { space.AlreadyMarked = true; BingoPlayerItem selfPlayer = _mainGame.PlayerList !.GetSelf(); var thisBingo = selfPlayer.BingoList[space.Vector.Row - 1, space.Vector.Column]; thisBingo.DidGet = true; //hopefully this simple. }
public async Task BingoAsync() { BingoPlayerItem selfPlayer = _mainGame !.PlayerList !.GetSelf(); if (selfPlayer.BingoList.HasBingo == false) { string oldStatus = Status; Status = "No Bingos Here"; await _mainGame !.Delay !.DelayMilli(500); Status = oldStatus; return; } if (_basicData !.MultiPlayer == true) { await _mainGame.Network !.SendAllAsync("bingo", selfPlayer.Id); } await _mainGame.GameOverAsync(selfPlayer.Id); }