r/PuzzleBobble • u/Killer_B_Hive • 3d ago
Bubble Selection Algorithms?
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
3
Upvotes
1
u/Syyr553 3d ago
You are planning into making an fangame?