You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been wanting to get demos added to the remaining games that are currently missing them - this would help support a number of new features. To add a demo to a game that's missing one, the best place to start would be the hint logic. The demo follows the hints, and the lack of hint logic for a given game is what causes the demo to be disabled. It typically has to be disabled if the default hints have issues and we've been unable to write a custom hint class. This typically happens if the hints suggest invalid or random moves, cause the demo to get stuck in a loop, or don't work with the nature of the game in question.
Look for the line "Hint_Class = None" and replace it with a working hint class to enable the demo for that game. The hint.py file contains the abstract/default hint logic.
Some games have no demo,
But I think it might be fairly easy to come up with an algorithm
for 'simple games' like Hanoi, Matrix, and maybe LightsOut.
Where would the code for such an extension go,
and should that be a solver, plugin or demo ?
Also, any advice about how to start coding for pysol ?
The text was updated successfully, but these errors were encountered: