Universal Turn Based AI is an artificial intelligence solution that can be applied to any turn based game! Featuring single and multi-threaded turn engines all you have to do is add the rules of your game and you can have a challenging AI in hours, not weeks. You can try and beat my Connect K AI here!
Features:
Single and multi-threaded implementations of the Min-Max algorithm with Alpha-Beta pruning.
Engine runs completely in its own thread to maintain a responsive UI.
Simple and easy to understand integration into Unity using co-routines and event callbacks.
Generic interfaces for describing your game's state, turn and evaluation function.
In engine customizable difficulty: set a maximum thinking time, maximum search tree depth or both!
Full source and documentation provided.
Error handling to Unity layer. Any errors generated in another thread by the engine or your interfacing code are caught and passed back up to the Unity error log.
Also comes with two example projects: Connect K and Tic-Tac-Toe; demonstrating the engine's power and flexibility as well as how Universal Turn Based AI can be used within Unity.