using System; using TheGameExtreme.model.card; namespace TheGameExtreme.model.rule.playRules { public class Ascendant : PlayRule { public static readonly String REGLE_ASCENDANT = "Ascendant"; public Ascendant() { } public bool Test(Card upStack, Card playedCard, bool bottomUp) { if (bottomUp && playedCard.Value > upStack.Value) { return true; } return false; } } }