Skip to content

Maybe typo inside player.py/Bots.__init__

According to the doc string of Bots.__init__, the param list should be name, index, spy, but the exact declared param list is like game, index, spy (line 182 of player.py) and there is a self.game = game on line 192.

This diverges from the docstring as well as the places in the code that calls self.name.

I wanted to create a MR for this typo but eventually found that simply replace game with name will cause the initializing of self.game to be lost

Is there supposed to be a fourth param needed in the Bots.__init__?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information