koby meir
koby meir

Reputation: 437

chess game in prolog

For one of my courses in the University i need a chess game implemented in prolog. My homework assignment it to build/improve the AI of the game.

I don't want to write the entire game from scratch,I was wondering if there is a source code for a game in prolog or perhaps another language C,C++,C#,Java that exposes a API to a prolog program.

Thanks, Koby Meir

Upvotes: 4

Views: 8494

Answers (3)

menjaraz
menjaraz

Reputation: 7575

My answer may be late respective to your assignement deadline :

See Prolog Chess chess engine (source code distibution), initialy implemented in Turbo Prolog. Other Prolog ports also available.

Upvotes: -1

CapelliC
CapelliC

Reputation: 60034

Gnu Chess it's in C, could be integrated using foreign language interface. It's not going to be an easy task, though.

SWI-Prolog has a Chess Board sample partially implemented in XPCE, its GUI framework, but no game engine.

Upvotes: 0

user502187
user502187

Reputation:

There is: % Chess -- Mar. 1, 1987 Mike Carlton

You find it in the benchmarks of: http://people.cs.kuleuven.be/~bart.demoen/hProlog/

Can't tell you more, since I didn't try it.

Bye

Upvotes: 4

Related Questions