Implement a Monte Carlo state-space estimator specifically for complex board games with high branching factors like Shogi. Provide a generic library for other board games.