It's easy to make a chessbot that only makes valid moves. Making a chessbot that plays optimally is hard.

But OP wasn't talking about solving optimalization problems, but understanding the rules of a business domain.