# How to create logic games?

I have a couple idea for project, but when I create simple field at 6x6 and posted on enemies, main hero + barriers. I get lost when I try to think of what a logic game for example “Sokoban” or match-3.
How do you calculate the moves?
Maybe you using some software for this?

Can you go into some more depth with your question, are you struggling with the design side of things or the code?

1 Like

Sounds like they’re struggling to understand how to write code to solve complex logic problems.

Same way you solve any other logic problem. You break it down into simple steps and then solve those.

My thinking to, if this is the case @hellpirat I would advise going onto the programming side of the forums, although you will need to provide a lot more information.

No, Programming is not a problem. I mean level design.
For example, I can create a level for “Sokaban”, but it will be impossible to pass, because of the position of cubes.

For something like Sokoban, you start in the final (solved) position, and then work it backwards, doing the inverse of the normally-allowed operations. This will mutate the level into a state that is solvable (by simply running the same steps forwards instead of backwards).

4 Likes