This script uses constraint programming to devise the optimal skeleton at the Bone Market in Fallen London.
Jeremy Saklad
d571167742
Buyers are now part of the model, rather than being fixed. This means that the model can choose from among all buyers and determine the most profitable option. Accomplishing this meant replacing the if-else control flow with a large quantity of half-reified constraints. |
||
---|---|---|
Bone Market Solver.py | ||
Pipfile |