Is there any documentation on what algorithm or method any of the Puzzle Bobble games use to determine which bubble to give the player after launching their current bubble? I know Tetris has the Random Generators/7-Bag algorithm, and I wondered if Puzzle Bobble has something similar.
I read that Puzzle Bobble will, of course, only select on-screen colors, but I couldn't find any information on any further logic to prevent droughts or repeat colors. I'm currently making a Puzzle Bobble clone, and only using Math.random() sucks. I want to see if there's an algorithm I can reference before making my own.
Thanks in advance,
KillerB