- Home /
Random Level similar to Flow Free Game in C# ?
Greeting !
I need some advice. I'm developing a game similar to Flow Free wherein the gameboard is composed of a grid and colored dots, and the user has to connect the same colored dots together without overlapping other lines, and using up ALL the free spaces in the board.
My question is about level-creation. I wish to make the levels generated randomly (and should at least be able to solve itself so that it can give players hints) and I am in a stump as to what algorithm to use in C# . Any suggestions?
Note: image shows the objective of Flow Free, and it is the same objective of what I am developing.
Thanks for your help.
Artificial intelligence.
You would need each dot to be able to solve it's portion of the puzzle, and in turn the next dot would need to solve it's portion based on how the first dot solved and so fourth...
You will have a lot of for loops, case statements and if/elses.
for example, the picture above... Solve for Yellow. Then, solve for blue while yellow is solved then, solve for red, then orange and green must be what's left = solved.
The random generation for this type of game doesn't seem like it will be an easy task, as this is a brain puzzle which hopes to test your knowledge of problem solving.
to solve, you must have a problem. Best I can say is good luck. And don't think too hard
A good way to make the level generator is to randomly generate a solution and then obscure it. The same goes for any other puzzle games.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Creating a level from a textfile 0 Answers
Opening new level in unity 1 Answer
How do I stop the scene from switching when the gameObject is destroy / 0 Answers