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).