We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b505dec commit 57ffe0bCopy full SHA for 57ffe0b
1 file changed
client/game_server_api.py
@@ -155,7 +155,7 @@ def join(self):
155
156
return self._player_id
157
158
- def move(self, **kwargs):
+ def move(self, **move):
159
"""
160
Submit a move.
161
@@ -169,7 +169,7 @@ def move(self, **kwargs):
169
handling.
170
171
Parameters:
172
- kwargs (keyword arguments): a player's move
+ move (keyword arguments): the player's move
173
174
Raises:
175
IllegalMove: in case of an illegal move
@@ -184,7 +184,7 @@ def move(self, **kwargs):
184
'session':self._session,
185
'player_id':self._player_id,
186
'key':self._key,
187
- 'move':kwargs})
+ 'move':move})
188
189
if err:
190
if status == 'illegalmove':
0 commit comments