# Algorithm for a puzzle game

**URL:** <https://forum.kirupa.com/t/algorithm-for-a-puzzle-game/308184>\
**Category:** Uncategorized\
**Created:** [April 18, 2010, 5:03pm UTC](https://forum.kirupa.com/t/algorithm-for-a-puzzle-game/308184 "2010-04-18T17:03:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webco](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@webco](https://forum.kirupa.com/u/webco)\
**Post date:** [April 18, 2010, 5:03pm UTC](https://forum.kirupa.com/t/algorithm-for-a-puzzle-game/308184/1 "2010-04-18T17:03:06Z")

</div>

Hello, I’m working on a circular Bubble Shooter (like [Bubble Spinner](http://www.deadwhale.com/play.php?game=774)).

Is this [algorithm](http://www.kirupa.com/developer/actionscript/depth_breadth_search.htm) is a good idea to removed the bubbles that are not attached to the framework ? Or do you advise me another algorithm ?
