Removed the punish method
This commit is contained in:
@ -227,20 +227,6 @@ class Player:
|
||||
"games": self._gamesSave
|
||||
}
|
||||
|
||||
def punish(self, value, preferedExpansion: str=None):
|
||||
do_something = lambda value, preferedExpansion: value
|
||||
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
|
||||
# TODO Implement a way to choose between the available expansions
|
||||
additionalInfos = do_something(value, preferedExpansion)
|
||||
return additionalInfos
|
||||
|
||||
|
||||
class ExpansionsManager:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user