Restructure the library a bit
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user