public void FillSquareWithCard(int x, int y, LandCard card, Player p) { CheckIfFirstPlay(x, y); SetHighestLowest(x, y); BoardRows[x][y].CardInfo = card; AwardResourcesForPlayedCard(x, y, card, p); SetSquaresNearPlayAsValid(x, y); PreventGridLargerThan4x4(); }
public void DrawPuzzleCard(Player p) { var drawnCard = new LandCard(); Random r = new Random(); int rInt = r.Next(1, Deck.Count); drawnCard = Deck[rInt]; Deck.RemoveAt(rInt); //Starting hands don't seem very random without this System.Threading.Thread.Sleep(10); p.Hand.Add(drawnCard); }
private void AwardResourcesForPlayedCard(int x, int y, LandCard card, Player p) { var possiblePoints = 0; }