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