public override void repartirCartasIniciales(Persona player1, Persona player2) { for (int i = 1; i <= 5; i++) { player1.cartas.Add((Carta)MazoCartas.pop()); player2.cartas.Add((Carta)MazoCartas.pop()); } }
public override Carta jugarUnaMano(Pila mazo, Persona player) { int rnd = new Random().Next(1, 5); Carta desechar = player.cartas[rnd]; player.cartas[rnd] = (Carta)MazoCartas.pop(); return(desechar); }