What algorithm to use to fill a KenKen square board with cages?

Posted by JimmyBoh on Game Development See other posts from Game Development or by JimmyBoh
Published on 2013-04-19T19:29:55Z Indexed on 2013/11/10 16:14 UTC
Read the original article Hit count: 373

Filed under:
|
|
|

I am working on recreating KenKen, a popular math puzzle involving a blank grid that is divided into "cages". Each cage is just a collection of adjacent squares and has a clue which is generally a number and an operand, shown below:

sorry the image is gone...

What type of algorithm would be best to fill the square with cages? Assume the maximum number of cells per cage would be 3 and the board is 4x4 in size, like in the example above.

© Game Development or respective owner

Related posts about math

Related posts about algorithm