mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
fix(game): changed number of cards
This commit is contained in:
@@ -81,7 +81,9 @@ namespace UNO::GAME {
|
|||||||
for (const auto color : AllColors) {
|
for (const auto color : AllColors) {
|
||||||
for (const auto type : AllTypes) {
|
for (const auto type : AllTypes) {
|
||||||
if (color != CardColor::WILD && type != CardType::WILD && type != CardType::WILDDRAWFOUR) {
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user