def start_interactive(game, round_data, users_plots):
state = 'interactive'
cache.set(game.id, {'state': state,
'round_data': round_data,
'users_plots': users_plots,
})
for i in users_plots:
user = i['user']
round_data['plot'] = i['plot']
interactive(user, game, round_data)
task.deferLater(reactor, 1, game_state_checker, game, state, round_data, users_plots).addErrback(twisted_error)
return
评论列表
文章目录