UNO (4-player)
You are South (player 0). Standard 108-card deck. Match the top card by color or value, or play a Wild.
Loading...
Rules (from notebook)
- 108 cards: 4 colors x (one '0', two each of '1'-'9', two each of skip/reverse/draw2), plus 4 Wild and 4 Wild+4
- Play matches: same color, same value, or any Wild
- Skip: next player loses turn. Reverse: flip direction. Draw 2: next player draws 2 and is skipped. Wild +4: choose a color and next player draws 4
- If you can't play, draw a card (in our simplified rules drawing ends the turn)
- First to empty their hand wins
AI strategy
- Greedy with action-card valuation: prefer Draw2 / Skip / Reverse, especially when an opponent is close to winning
- Saves Wilds and Wild+4 for stuck turns
- When forced to choose a Wild color, picks the color most common in own hand
- Color match preferred over value match (keeps flexibility)
- Game-state info accessed via the same API surface as the notebook (
get_my_hand,get_hand_sizes,get_top_card,get_discard_pile)