As the big videogame companies struggle with changing consumer preferences, Hasbro Inc. is riding a wave of enthusiasm for tabletop games.