use actual game creator, make skip available to every player

This commit is contained in:
Jannes Höke
2016-05-01 18:23:59 +02:00
parent 76b869fce7
commit 0cf7b70454
3 changed files with 77 additions and 58 deletions

View File

@ -27,6 +27,7 @@ class GameManager(object):
self.chatid_games[chat_id] = list()
self.chatid_games[chat_id].append(game)
return game
def join_game(self, chat_id, user):
""" Create a player from the Telegram user and add it to the game """