@Tendmote, the code is public, but FOR ExAMPLE the messages which players send are private, any AI would need to learn (draug's example above just examines historical games, but my example would also try predicting moves from the current position) - you can go ahead and run it against all possible inputs, (assuming you have the computational power to run hundreds of trillions of simulations) but at that poont how do you which answer is the ONE which the AI will pick?
You don't know the internal state of the AI, which is based on it's experience and learning (whether that is Historical games or actual games played by the AI)
The hard bit is getting it to parse press, though i've seen sggestions for a schene for handling press, with limited verbs, like SUGGEST, AGREE, SHARE, etc...