Latrunculli with Prolog

I will re-organize this page in a few weeks, but until then, here are the Prolog codes for the Latrunculli game. You will also find the images I have used for the GUI in the zip file. You can write to me if you have any problems with the code. If you are going to work with it, Zafer advises you to use a lot of cuts all over the program. I haven't been as deliberate with my cuts, so I had to implement recursive predicates that utilize the stack logarithmically (instead of the simpler linear recursion).
Last updated: 30 January 2002
Back to my homepage...