Solver for Strata game