export function shouldBlockRequest(game, userid) { return game.state == "waiting" || game.state == "playing" && getCurrentPlayer(game) != userid; }