intelligent behavior is also associated with the ability to find the best combinations of possible "moves", not just a single correct step.
In the Kubrick experiment, I try to combine natural language, data and constraints in programming. here I explain the combinatorics behind it:
https://gfrison.com/patents/bridging-natural-language-with-data-programming-combinatorial