   Prolog + C for game logic and interface
  Hello,I need some examples of using Prolog as the game engine and using C for the graphical interface and also for using input.Does anyone have a small example of something like that?If not in C, Java or Delphi examples are also useful.Thanks for your help.[Edited by - gonssas on June 23, 2006 12:25:27 PM]
  Prolog is not a very popular game development language.   ;  Yes,the point is using Prolog for the AI of the game.Thanks.   ;  If prolog can create object files, presumably you can link those object files together with C object files to produce your program. I don't have a prolog compiler handy, but if there's a GNU one I'd almost bet that will work.It's unlikely, since Prolog is not very popular, that you will find the source you're looking for.   ;  SWI-Prolog seems to have a fairly rich foreign function interface that allows you to link .dll/.so's and/or mix Prolog and C object files into a statically linked binaryhttp://www.swi-prolog.org/http://gollem.science.uva.nl/SWI-Prolog/Manual/foreign.htmlhttp://gollem.science.uva.nl/SWI-Prolog/Manual/plld.htmlhttp://gollem.science.uva.nl/SWI-Prolog/Manual/foreignxmp.htmlCompiling your graphics code into a dll and loading that into the Prolog runtime is probably the easiest way to get the two language interact.   ;  There are some translation systems which convert Prolog in the apropriate code:For C# there is Psharp:http://www.dcs.ed.ac.uk/home/jjc/psharp/psharp-1.1.3/dlpsharp.htmlFor Java there is Prolog Cafe:http://kaminari.scitec.kobe-u.ac.jp/PrologCafe/I've worked with Psharp which works quite easy, but has some limitations because it was in development.   