diff options
Diffstat (limited to 'swiftstory')
-rw-r--r-- | swiftstory/Game.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftstory/Game.py b/swiftstory/Game.py index ee1fd86..e80b7b2 100644 --- a/swiftstory/Game.py +++ b/swiftstory/Game.py @@ -14,8 +14,8 @@ class Game: self.white_desc = white_desc self.black_desc = black_desc - white_pick = [i for i in range(len(self.white_desc))] - black_pick = [i for i in range(len(self.black_desc))] + white_pick = [i for i, _ in enumerate(self.white_desc)] + black_pick = [i for i, _ in enumerate(self.black_desc)] self.state = self.WAITING_NEW_JUDGE |