views:

290

answers:

2

Title says it all. A full game or application is not needed; just a core library that ideally can:

  • be competitive against a human
  • have configurable difficulty
  • have customizable moves (I might need some unique moves that don't exist in traditional chess)

The platform is a closed system that can only run Lua, so I don't even have access to run a C++ engine via Lua bindings. I would need to translate the C++ to Lua, which I'd ideally like to avoid but am not opposed to if there's no other way (unless it's a boatload of code).

+1  A: 

I suggest you create a lua binding that allows you to use UCI. Then you can use multiple engines.

I do not know of any pre-exisiting chess library bindings.... though I could be wrong

daurnimator
Unfortunately, the platform doesn't allow me to use anything other than Lua, so I would have to translate from whatever the source language is. But thanks for the tip about UCI, maybe something can be found from that info.
Jim Buck
+1  A: 

If you are interested in writing a chess engine you might want to have a look at the Computer Chess Blog. It documents the creation of a chess engine from the start including full C# code listings.

Adam Berent