From 9e6ded8087fee794c8620015a84586ad167e5a30 Mon Sep 17 00:00:00 2001 From: Kieran Kihn <114803508+kierankihn@users.noreply.github.com> Date: Sun, 16 Nov 2025 20:53:21 +0800 Subject: [PATCH] fix(game): changed number of cards --- src/game/CardTile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/CardTile.cpp b/src/game/CardTile.cpp index 986112c..a407698 100644 --- a/src/game/CardTile.cpp +++ b/src/game/CardTile.cpp @@ -81,7 +81,9 @@ namespace UNO::GAME { for (const auto color : AllColors) { for (const auto type : AllTypes) { if (color != CardColor::WILD && type != CardType::WILD && type != CardType::WILDDRAWFOUR) { - this->pushBack(color, type); + for (int i = 1 + (type == CardType::NUM0); i <= 2; i++) { + this->pushBack(color, type); + } } } }