That would just follow a singular simple algorithm, not really intelligence in any sense.
[1]: http://webdocs.cs.ualberta.ca/~sutton/book/11/node3.html
The same can't really be said of AI in most other contexts, where the goalposts continually seem to move to whatever is currently just beyond our reach.