loopprep

Card Game Engine

total 00:00
Hard47 minPremium Asked at Scale AI

    The rules engine behind a shedding card game, written while the rules keep changing: match by color or rank, then add skips, reverses and penalties, wild cards with a declared color, a house rule switched on mid-game, and scoring across a whole match.

    The five steps
    1. Match and shed 8 min
    2. Skip, reverse, draw two 9 min
    3. Wild cards 9 min
    4. A house rule, mid-game 10 min
    5. Scoring a match 11 min