Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How do I calculate the number of puzzles I've created?
Replies: 0

 michael Posts: 1 Registered: 7/31/10
How do I calculate the number of puzzles I've created?
Posted: Jul 31, 2010 12:09 PM

I created a game some years ago and one question that comes up is 'how many puzzles are there'? I've never sat down to do the math, then I realized that I wasn't quit sure HOW to do the math.

There are two versions of this game, one is free and has a predetermined number of puzzles, I'm asking about the paid version. You can see screen shots at the bottom of http://circuitry.cdotspace.com/paypal/buy.asp

The puzzles are generated by code, I didn't sit down and draw out a million puzzles. A user enters sizes from 5 x 5 up to 33 x 19, odd numbers only (12 x 4 will resize to 13 x 5). Each tile has one of four states: light bulb, I-shape, L-shape or T-shape except for the four corner pieces which can only be a light bulb or L-shape. The center piece has one of three states: one door, two doors or three doors.

I'm hoping to find a formula not just an number because I'm working on rewriting this game in another program (sort of: it's currently Flash and I want to convert it to Adobe AIR). Currently the game can generate any size puzzle but I restricted it to 33 x 19 because it took too long to generate puzzles and the pieces got to small. I'm hoping the rewrite will solve this and allow larger puzzles.

Any help is appreciated.