A framework for building and deploying turn-based games for competition between game-playing agents