On February 9 , 1895 , in Holyoke , Massachusetts ( USA ) , William G. Morgan , a YMCA physical education director , created a new game called " Mintonette " as a pastime to be played ( preferably ) indoors and by any number of players .