using System; using System.Collections.Generic; using TheGameExtreme.model.card; using TheGameExtreme.model.card.rapidCard; namespace TheGameExtreme.model.rule.endRule { public class NbCardPlay : EndTurnRule { public NbCardPlay() { } override public bool Test(List CurrentCardPlayed, int nbCardAtBeginOfTurn, List CurrentHand) { if ((nbCardAtBeginOfTurn - CurrentHand.Count) < 2) { return true; } return false; } } }