Restructure the library a bit

This commit is contained in:
2025-06-22 09:34:26 -04:00
parent c39fd28d96
commit 1abfec05da
5 changed files with 7 additions and 1 deletions

View File

@ -194,7 +194,13 @@ class Player:
def punish(self, value, preferedExpansion: str=None):
do_something = lambda value: value
additionalInfos = {"expansionID": "challengeDB", "balancedValue": 0.2, "showOnScreen": "Do 100 push-up", "error": None, "done": False}
additionalInfos = {
"expansionID": "challengeDB",
"balancedValue": 0.2,
"showOnScreen": "Do 100 push-up",
"error": None,
"done": False
}
# NOTE Make a result class instead and an error class
additionalInfos = do_something(value)
return additionalInfos