text: on(window, 'load', function () {
      var game = null;
  
      $('.button-start').click(() => {
          let name = $('#name').val();
          if (name) {
              game = new Game(name);
              $('.name-container').toggleClass('hide');
              $('.game-container').toggleClass('hide');
                          game.setup();
              event(game);
          } else {
              alert('请先输入姓名再进入游戏！');
          }
      })
  
  });