Object-Oriented Programming · Square · Medium
Build a stripped-down version of the card game UNO played between two players. At the start, each of the two players is given a hand of seven cards. The task proceeds in stages: Design the classes needed to model the game. Deal the starting hands to both players. Simulate a game in which players never draw cards. Extend the simulation so that drawing cards is part of play.