add rng to init for tests

This commit is contained in:
Alberto Xamin 2021-09-01 12:33:39 +03:00
parent ac55dadc9d
commit ad27e067e9
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -47,6 +47,7 @@ class Game:
self.debug = self.name == 'debug' self.debug = self.name == 'debug'
self.is_changing_pwd = False self.is_changing_pwd = False
self.is_hidden = False self.is_hidden = False
self.rng = random.Random()
def reset(self): def reset(self):
print(f'{self.name}: resetting lobby') print(f'{self.name}: resetting lobby')