General Game Playing Engine in C++11 using YAP Prolog