Skip to content

Commit

Permalink
Rebalance polyomino bag - Fixes #176
Browse files Browse the repository at this point in the history
- all tetrominos
- 2 "littleminos" (1,2 or 3 blocks)
- 1 pentomino
  • Loading branch information
wendelscardua committed Dec 17, 2023
1 parent 23fcd06 commit 54c7f11
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/polyomino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ auto Polyomino::pieces = Bag<u8, NUM_POLYOMINOS>([](auto *bag) {
}
}

// also add two random pentominos
bag->insert(pentominos.take());
bag->insert(pentominos.take());

// ... and a random 1-2-or-3-mino
// also add two random "littleminos" (1,2, or 3 blocks)
bag->insert(littleminos.take());
bag->insert(littleminos.take());

// ... and a random pentomino
bag->insert(pentominos.take());
});

Polyomino::Polyomino(Board &board)
Expand Down

0 comments on commit 54c7f11

Please sign in to comment.