I am looking forward to writing a "Shafrans hex chess AI in prolog". Is there any already available open-source code available for reference?
http://en.wikipedia.org/wiki/Hexagonal_chess (for info on Shafran's hexagonal chess)
There is a CodePlex project - https://hexchess.codeplex.com/ for several hexagonal chess variants included. Although the code is not in prolog, this should give you a start if you are still looking.
If you wish to know what is Artificial Intelligence then visit this Artificial Intelligence Course.