btarddd / nullpomino

Automatically exported from code.google.com/p/nullpomino
0 stars 0 forks source link

SPF square algorithm still imperfect #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start a game in SPF VS-BATTLE mode.
2. Place blocks in the following pattern, where X's are all the same color, and 
O is an empty cell:
XXOX
XXXX
YXXX
3. Place a block in the cell marked O of the same color as the X's.

What is the expected output? What do you see instead?
The block at O should join with the block to its right and the pre-existing 
square below it to form a 3x2 square. Instead, the game freezes (due to an 
infinite loop somewhere).

Original issue reported on code.google.com by Poochy.EXE on 5 Aug 2010 at 5:40

GoogleCodeExporter commented 8 years ago
Never mind, I found the bug. And it was a really silly error, too.

Original comment by Poochy.EXE on 5 Aug 2010 at 6:34