What's the randomness function of the Puzzle Swap piece-buyer?
I do not have any proof about the selection algorithm used (this may be impossible without seeing the source code), but when buying puzzle piece with Play Coins:
- You will never get a piece from a puzzle that you have completed.
- You will never get a piece from a puzzle that you haven't yet started.
- You will never get a StreetPass only piece (the pink ones).
- You may get a new piece.
- You may get a piece that you already have. (In fact, there's an Accomplishment gor getting 3 identical pieces in a row. This is easier to do to get if you only have 1 uncompleted puzzle, with a small number of pieces.)
Because of the puzzle exclusions (no pieces from completed or un-started puzzles), I would guess that completed and not started panels are first excluded from potential pool of new pices, and then StreetPass pieces are excluded. From the remaining pool of potential new pieces, you get one random piece.
I know that at least for three of the last four puzzles, and also for the mario kart 7 one, I always spent a round number of coins, because I only had them to get.
MK7, Mario Tennis Open and NSMB2 all cost exactly 200 play coins to get all 32 blue pieces. KIU cost 150.
The only exception was Kirby 20th. That was 186.
Ignoring the last one, I dont know of the rounded-to-50 figure was just coincidence, but I kind of figured the algorithm used a total of the number of coins they wanted you to spend then allocated a new piece at specific markers or percentages of that number or something.
I may be totally off...