On the hunt for cheesy solutions
Late during development, we made a brute-force based AI that tries to solve Puddle Knights levels. Here are some results:
![tinytrouble.png tinytrouble.png](https://m.gjcdn.net/content/750/4265028-kqkag2tm-v4.webp)
Tiny level from the start of the game: found goal after trying 84 states, 104 possible states in total.
![lavaworld1.png lavaworld1.png](https://m.gjcdn.net/content/750/4264388-jd6hrwgy-v4.webp)
First level of the new lava world: found goal after trying 1867 states, 6314 possible states in total.
![tiny.png tiny.png](https://m.gjcdn.net/content/750/4264954-yv9feg28-v4.webp)
Maybe surprisingly this special tiny level has 7976 possible states! However, the bot doesn't take it into account that the knights with the same cape length are basically interchangeable. With that taken into account, there are about 2000 states.
![lavaextra.png lavaextra.png](https://m.gjcdn.net/content/750/4264970-5qs5sft3-v4.webp)
One of the harder levels of the new lava world: Bot couldn't manage to find a solution after churning through possibilities for 5 minutes.
The bot was initially made so that we could easily check if levels are solvable, or possibly also find cheesy unintended solutions. It fell a bit short of this goal though. Some of the levels are so complex that the bot just freezes Unity for several minutes, but still doesn't find a solution because there are so many possible states! Turns out we made a tricky game.
0 comments