Prolog game project