Water Sort
About
After tutorial levels (after level 4) levels generating. I can't design levels so I decided to write a level generator. The generator have conditions like how many bottle should have in level, which color will be create, can create same color in a bottle and so on.
After level generator I needed to make sure the generated levels were solvable. I coded a solver. If level cannot solve after 20.000 move, generator creating new level.
For controlling level generator status i coded level generator controller for make game balance.